shell 备份 source code】的更多相关文章

1. 利用shell脚本备份源码 首先mkdir创建三个目录  backup存放备份代码,script 存放shell脚本,www存放源码 2.创建文件 3. 编写shell脚本 #!bin/sh basedir=/data/backup www_src=$backdir/www_src/$(date +%F_%H%M) [! -d "$www_src" ] && mkdir -p $www_src cd /data tar -jpcf $www_src/www.tar…
不多说,直接上干货! Streamsets的官网 https://streamsets.com/ 得到 https://streamsets.com/opensource/ StreamSets支持多种安装方式的第一种安装方式: Core Tarball   核心安装包(Core Tarball) StreamSets支持多种安装方式的第二种安装方式: Cloudera Parcel 这是Cloudera安装包(Cloudera Parcel) StreamSets支持多种安装方式的第三种安装方…
备份多个数据库可以使用如下命令:mysqldump -uroot -p123456 --databases test1 test2 test3 > /home/test/dump.sql; 恢复备份:source dump.sql 在mysql命令行中输入该命令即可恢复 备份整个数据库: mysqldump -uroot -123456 -A > all.sql 备份整个数据库结构: mysqldump -uroot -p123456 -P3306 -A -d > all_002.sql…
How to compile and install Linux Kernel 5.1.2 from source code Compiling a custom kernel has its advantages and disadvantages. However, new Linux user/admin find it difficult to compile Linux kernel. Compiling kernel needs to understand few things an…
A Darkroom by doublespeakgames <!DOCTYPE html> <html itemscope itemtype="https://schema.org/CreativeWork"> <head> <meta charset="UTF-8"/> <!-- A Dark Room (v1.4) ================== A minimalist text adventure…
This post is first posted on my WeChat public account: GeekArtT Reading source code is always one big part for software engineers. Just like the writers to learn writing by reading a heck of classic books, like the painters to "read" a bunches o…
Source Code Pro - 最佳的免费编程字体之一!来自 Adobe 公司的开源等宽字体下载     每一位程序员都有一套自己喜爱的代码编辑器与编程字体,譬如我们之前就推荐过一款"神器"级别的代码编辑器 Sublime Text 2,而今天我们则推荐一款相当不错的编程字体 -- Source Code Pro! Source Code Pro 是由大名鼎鼎的 Adobe 公司发布的一款开源且完全免费的等宽编程字体,它非常适合用于阅读代码,支持 Linux.Mac OS X 和…
The Robotics Library is an open source C++ library for robot kinematics, motion planning and control. The official website provides a Windows installer. But it's release only and has no debug information. To better debug into the library, we need to…
Download any version source code of Windows Azure Powershell from https://github.com/Azure/azure-sdk-tools/releases Downdload Wix ToolSet from http://wix.codeplex.com/releases/view/115492 and install it to let your VS supports Wix component. Build \W…
为了使一个项目支持集群,自己学习使用了 akka cluster 并在项目中实施了,从此,生活就变得有些痛苦.再配上 apache 做反向代理和负载均衡,debug 起来不要太酸爽.直到现在,我还对 akka cluster 输出的 log 不是很熟悉,目前网络上 akka cluster 的信息还比较少,想深入了解这东西的话,还是要自己读 source code.前几天,雪球那帮人说 akka 不推荐使用,有很多坑,这给我提了个醒,目前我对 akka 的理解是远远不够的,需要深入学习. akk…
The default class viewer doesn't decompile the class file so you cannot open and check the source code, you may down third part App to do that while it is not convenient for debugging. The JAD plugin unable you open it directly in Eclipse. you just f…
收藏一些经典的源码,持续更新!!! 1.深度学习框架(Deep Learning Framework). A:Caffe (Convolutional Architecture for Fast Feature Embedding)Convolutional 由伯克利大学Yangqing Jia Ph.D开发的开源深度学习的代码. Homepage:http://caffe.berkeleyvision.org/ Paper:Caffe: Convolutional Architecture f…
http://rubenlaguna.com/wp/2008/02/22/attach-source-code-to-a-netbeans-library-wrapper-module/ Attach Source Code to a Netbeans Library Wrapper Module Feb 22nd, 2008 I’m new in NetBeans and today I’ve been struggling a couple of hours with the simple…
import os import sys def find_file(root_dir, type): dirs_pool = [root_dir] dest_pool = [] def scan_dir(directory): entries = os.walk(directory) for root, dirs, files in entries: dirs_pool.extend([os.path.join(root, dir_entry) for dir_entry in dirs])…
1. 安装ctags: sudo apt-get install exuberant-ctags 2. 打开https://github.com/Quixotix/gedit-source-code-browser选折右边的Download Zip按钮下载 3. 解压缩刚刚下载的zip文件. 4. 将文件 sourcecodebrowser.plugin 和文件夹 sourcecodebrowser 复制到 /usr/lib/gedit/plugins/ chenzc@chenzc-T530:~…
特色 迅捷是一个功能强大的C/C++源代码分析软件.可以处理数百万行的源程序代码.支持标准及K&R风格的C/C++.对每一个打开的源代码工程,通过建立一个包含丰富交叉引用关系的数据库,显示其所含的各种信息:所有的源文件.所有的头文件.所有的代码文件.词汇索引.索引结果.文件包含关系.宏定义.数据结构和函数定义.可扩展的函数定义.函数调用关系.分文件夹的定义目录.构造层次.诊断性输出等.仅须按一键就可以非常方便地扩展各种类型的定义和调用关系.所有这些结合起来帮助用户快速地阅读.理解.研究和维护关键…
========================ASP.NET MVC 4============================ ASP.NET MVC 4 source code download[官方] 修改后的ASP.NET MVC 4相关工程文件下载 解压源文件, 然后用笔者修改后的工程文件替换对应文件(直接替换就行). ASP.NET MVC 4 build前请先运行build RestorePackages C:\Codes\ASP.NET MVC 4>build RestoreP…
Look under the start memcahced threading process memcached multi-threaded mainly by instantiating multiple libevent, are a main thread and n workers thread is the main thread or workers thread all through the the libevent management network event, in…
1. Unpack the tarball: tar -xzf xdebug-2.2.x.tgz.  Note that you do not need to unpack the tarball inside the PHP source code tree. Xdebug is compiled separately, all by itself, as stated above. 2. cd xdebug-2.2.x 3. Run phpize: phpize    (or /path/t…
You wanna look at a JVM class while you are coding and you cannot. Here is the solution. First of all, download your related JDK source code files unless you already have it. In general, source code is included in the JavaSE bundle and located under…
  http://blog.yucanlin.cn/2015/04/08/linux-%E5%AE%89%E8%A3%85-source-code-pro-%E5%AD%97%E4%BD%93/ http://dreamume.blog.163.com/blog/static/18492371920136515710747/ 第一步: 下载并解压source code pro安装包 第二步: 安装字体,双击.ttf文件,并选择安装. 第三步: 选择箭头所指项. 注意:一定要选择使用全局字体,和使…
You can find their source code in codeplex at the ASP.NET source code. ExtendedMembershipProvider: http://aspnetwebstack.codeplex.com/SourceControl/changeset/view/553690ac9488#src/WebMatrix.WebData/ExtendedMembershipProvider.cs SimpleMembershipProvid…
Mysql 查询运行过程 大致分为4个阶段吧: 语法分析(sql_parse.cc<词法分析, 语法分析, 语义检查 >) >>sql_resolver.cc # JOIN.prepare 生成逻辑查询plan(sql_optimizer.cc) >># JOIN.optimize 生成物理查询plan(sql_planner.cc) run the explain plan(sql_executor.cc) JOIN.exec JOIN.prepare() : 子查询…
转载于:http://www.kawa.net/works/js/xml/objtree-try-e.html // ======================================================================== // XML.ObjTree -- XML source code from/to JavaScript object like E4X // ==============================================…
javascript - Get page source code - Stack Overflow Get page source code…
Environment : Android 4.4.2 merge with Android 4.4.3(with other vendors source code) 1.确定你要merge 到 其它分支的版本号.并在server測获得详细lable 相应的commit 或者 从build 相应的Repo Manifest 中找到要patch 到目标代码的Commit ID <? xml version="1.0" encoding="UTF-8"? >…
I'd like to get the source code of the chromium 34.0.1847.9. gclient config http://src.chromium.org/chrome/releases/34.0.1847.9 gclient sync --jobs 16…
Artistic Style 1.15.3 A Free , Fast and Small Automatic Formatterfor C , C++ , C# , Java Source Codes by Tal Davidson, Israel (E-mail: davidsont@bigfoot.com) Main home Page http://sourceforge.net Project Page http://www.sourceforge.net/projects/astyl…
link from:http://www.crowdstrike.com/blog/native-java-bytecode-debugging-without-source-code/index.html Native Java Bytecode Debugging without Source Code Feb 12, 2014 | Jason Geffner, Sr. Security Researcher At CrowdStrike, we've seen a moderate inc…
最近开始痛定思痛,研究cakephp的源码. 成长的路上从来没有捷径,没有小聪明. 只有傻傻的努力,你才能听到到成长的声音. 下面这篇文章虽然过时了,但是还是可以看到作者的精神,仿佛与作者隔着时空的交流,这就是阅读的意义所在吧 :) ============================================================= 原文: http://debuggable.com/posts/learning-from-the-cakephp-source-code-p…