This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demo - api is looking good |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# This script dumps the content of a shared memory block | |
# used by Linux/Cdorked.A into a file named httpd_cdorked_config.bin | |
# when the machine is infected. | |
# | |
# Some of the data is encrypted. If your server is infected and you | |
# would like to help, please send the httpd_cdorked_config.bin | |
# to our lab for analysis. Thanks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# myapp daemon | |
# chkconfig: 345 20 80 | |
# description: myapp daemon | |
# processname: myapp | |
DAEMON_PATH="/home/webdv/hubot-master" | |
DAEMON=bin/hubot | |
DAEMONOPTS="-a campfire -n webdv-hubot -l hubot" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#- name: Installing FFMPEG | |
- name: Running ./configure for FFMPEG | |
command: '"{{ item }}" chdir=/myhome/ffmpeg-2.8.2/' | |
with_items: | |
- ./configure | |
- name: Running "make" for FFMPEG | |
command: '"{{ item }}" chdir=/myhome/ffmpeg-2.8.2/' | |
with_items: | |
- make | |
- name: Running "make install" for FFMPEG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_complete_ssh_hosts () | |
{ | |
COMPREPLY=() | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ | |
cut -f 1 -d ' ' | \ | |
sed -e s/,.*//g | \ | |
grep -v ^# | \ | |
uniq | \ | |
grep -v "\[" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_complete_ssh_hosts () | |
{ | |
COMPREPLY=() | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ | |
cut -f 1 -d ' ' | \ | |
sed -e s/,.*//g | \ | |
grep -v ^# | \ | |
uniq | \ | |
grep -v "\[" ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "tmpdir" | |
require "digest/md5" | |
require "benchmark" | |
require "rubygems" | |
require "language_pack" | |
require "language_pack/base" | |
require "language_pack/ruby_version" | |
require "language_pack/helpers/nodebin" | |
require "language_pack/helpers/node_installer" | |
require "language_pack/helpers/yarn_installer" |
OlderNewer