Skip to content

Instantly share code, notes, and snippets.

View vijayrudraraju's full-sized avatar

Vijay Rudraraju vijayrudraraju

View GitHub Profile
#fxControlDemo.rb
#This program demonstrates the control of fx parameters to give smooth fades
#in their effects. Prompted by a thread https://in-thread.sonic-pi.net/t/smooth-parameter-automation/1626
#started by Martin Butz
#Martin Butz's original fade function renamed, and simplified
#for only two fade types fade and wave
#fade up or down is selected automatically from the relation#
#between start and finish values
define :fadeSteps do |start, finish, len, type|
@vijayrudraraju
vijayrudraraju / add_debug_entitlement.sh
Created July 10, 2020 21:40 — forked from talaviram/add_debug_entitlement.sh
Simple Utility Script for allowing debug of hardened macOS apps.
#! /bin/bash
# Simple Utility Script for allowing debug of hardened macOS apps.
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off.
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg
app_path=$1
if [ -z "$app_path" ];
then
echo "You need to specify app to re-codesign!"
exit 0
@vijayrudraraju
vijayrudraraju / facebook_scraping.coffee
Created February 27, 2016 10:07 — forked from hnaohiro/facebook_scraping.coffee
Scrape Facebook with CasperJS
casper = require('casper').create()
casper.start "https://facebook.com", ->
query =
email: 'youremail'
pass: 'yourpass'
@fill "#login_form", query, true
casper.thenOpen 'https://facebook.com/username'
//express3.0
var express = require('express');
var app = express();
app.set('port', 3000);
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');
app.use(express.bodyParser());
app.use(express.methodOverride());
//session & cookie