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
sh /root/merge.sh 1 20 "./MKV" "./VF" "./VO" "./output" |
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
public class AnimatedActivity extends Activity | |
{ | |
@Override | |
protected void onCreate(Bundle savedInstanceState) | |
{ | |
super.onCreate(savedInstanceState); | |
//opening transition animations | |
overridePendingTransition(R.anim.activity_open_translate,R.anim.activity_close_scale); | |
} |
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
# Title: Twitter mention to url convertor plugin for Octopress | |
# Author: Quentin Rousseau http://quentinrousseau.com | |
# Description: Convert all twitter mentions with an url. | |
# | |
# Syntax {% twitter_mention_convertor "You string with @mention1 @mention2" %} | |
# | |
# Example: | |
# {% twitter_mention_convertor "Hello world @quentinrousseau" %} | |
# | |
# Output: |
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
!!! | |
%html | |
%head | |
%title My Website | |
// METADATA | |
%meta{:charset => "utf-8"} | |
%meta{:content => "initial-scale=1.0", :name => "viewport"} | |
%meta{:content => "yes", :name => "apple-mobile-web-app-capable"} | |
= csrf_meta_tags |
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/sh - | |
#title :backup_neo4j_to_s3.sh | |
#description :This script is creating a NEO4J Backup through neo4j-backup tool, | |
# compress the backup folder via LZMA2 algorithm compression, and upload it to AWS S3. | |
#author :Quentin Rousseau <[email protected]> | |
#date :2014-07-28 | |
#version :1.1 | |
#usage :sh backup_neo4j_to_s3.sh ip port destination | eg. sh backup_neo4j_to_s3.sh 127.0.0.1 6362 /mnt/datadisk/backup | |
#dependencies :apt-get update && apt-get install p7zip-full && apt-get install awscli. | |
#============================================================================== |
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
#========================================================================================== | |
#title :mixpanel_people_export.rb | |
#description :This ruby script is exporting mixpanel people json data to a file | |
#author :Quentin Rousseau <[email protected]> | |
#date :2014-07-15 | |
#version :1.0 | |
#usage :ruby mixpanel_people_export.rb | |
#dependencies :gem install 'mixpanel_client' | |
#moreinfo :https://mixpanel.com/docs/api-documentation/data-export-api#engage-default | |
#=========================================================================================== |
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
#============================================================================= | |
#title :iron_requeuing_jobs.rb | |
#description :This script is requeing jobs by job status to Iron Worker | |
#author :Quentin Rousseau <[email protected]> | |
#date :2014-07-23 | |
#version :1.0 | |
#usage :ruby iron_requeuing_jobs.rb | |
#dependencies :gem install iron_worker_ng | |
#============================================================================== |
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
// | |
// STDataStoreController.h | |
// | |
// Created by Buzz Andersen on 3/24/11. | |
// Copyright 2011 System of Touch. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <CoreData/CoreData.h> |
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
// | |
// IonIcons+Additions+.h | |
// Created by Quentin Rousseau on 24/10/14. | |
// http://quent.in | |
// | |
#import <Foundation/Foundation.h> | |
#import "IonIcons.h" | |
@interface IonIcons (Additions) |
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 'pty' | |
require 'expect' | |
PTY.spawn('sftp [email protected]:/uploads') do |input, output| | |
# Say yes to SSH fingerprint | |
input.expect(/fingerprint/, 2) do |r| | |
output.puts "yes" if !r.nil? |
OlderNewer