Skip to content

Instantly share code, notes, and snippets.

View samvasko's full-sized avatar

Samuel Vasko samvasko

View GitHub Profile

Keybase proof

I hereby claim:

  • I am bliker on github.
  • I am bliker (https://keybase.io/bliker) on keybase.
  • I have a public key whose fingerprint is 053F C410 E7B9 3A45 F2A3 4A0A 2038 7CD1 2B02 3EC3

To claim this, I am signing this object:

@samvasko
samvasko / gulpfile.js
Last active August 29, 2015 14:01
Gulp + Browserify + Watchify setup
var gulp = require('gulp');
var watchify = require('watchify');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var gutil = require('gulp-util');
gulp.task('editor', function () {
var b = browserify();
b.require('./sources/js/scribe.js', {expose: 'scribe'});
b.transform({global: true}, 'deamdify');
@samvasko
samvasko / makefile
Created April 7, 2014 09:37
Makefile for building keil projects
# Makefile for building keil projects
KEIL=wine "/home/bliker/.wine/drive_c/Keil/UV4/UV4.exe"
TMP=/tmp/keil.out
NULL=/dev/null
# Will prevent it from exiting even when somehing failied
build:
-@$(KEIL) -j0 -b -o $(TMP) *.uvproj 2> $(NULL);
@cat $(TMP)
@samvasko
samvasko / ConEmu.xml
Created June 13, 2013 21:39
ConEmu Badaas config
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Survival" modified="2013-06-13 23:26:24">
<value name="ColorTable00" type="dword" data="00222827"/>
<value name="ColorTable01" type="dword" data="009e5401"/>
<value name="ColorTable02" type="dword" data="0004aa74"/>
<value name="ColorTable03" type="dword" data="00a6831a"/>
<value name="ColorTable04" type="dword" data="003403a7"/>
<value name="ColorTable05" type="dword" data="009c5689"/>
@samvasko
samvasko / grooveshark.json
Created June 6, 2013 15:42
Hola Unblocker Script for Grooveshark
{
"name": "Grooveshark",
"description": "Access Grooveshark from countries that do not allow it, like Demark.",
"author": "Samuel Vasko",
"site": "https://gist.github.com/5722533",
"icon": "http://i.imgur.com/dwt9R8v.png",
"unblocker_rules": {
"grooveshark": {
"description": "Unblock grooveshark",
"link": "grooveshark.com",

A

  1. Arcade Fire - Funeral
  2. Modest Mouse - The Moon & Antarctica
  3. The Antlers - Hospice
  4. Daft Punk - Discovery
  5. Brian Wilson - SMILE
  6. Godspeed You! Black Emperor - Lift Yr. Skinny Fists Like Antennas to Heaven!
  7. Massive Attack - Mezzanine
  8. Wllco - Yankee Hotel Foxtrot
  • The Pretty Things - S.F. Sorrow
  • Ride - Nowhere
  • Wire - Chairs Missing
  • The Jesus And Mary Chain - Psychocandy
  • Jimi Hendrix - Axis: Bold As Love
  • New Order - Technique
  • Harry Nilsson - Nilsson Schmilsson
  • Mazzy Star - So Tonight That I Might See
  • Captain Beefheart - Trout Mask Replica
  • Elliott Smith - Roman Candle
@samvasko
samvasko / snppet_parsing.md
Created May 9, 2013 14:12
Steps for parsing snippets form laravel source

Parsing v2

Grep names of Facades from config\app.php

grep -r 'Illuminate\\Support\\Facades' app.php | cut -d \' -f2

Those Are

App Artisan Auth Blade Cache Config Cookie Crypt DB Event File Form Hash HTML Input Lang Log Mail Paginator Password Queue Redirect Redis Request Response Route Schema Session URL Validator View

Now resolve their real name from facade using this ruby script

@samvasko
samvasko / parse_snippets.rb
Created May 9, 2013 14:07
Parse snippets from laravel source
# Made by Samuel Vasko ~ [email protected]
# Parse functions from Laravel source
# and format them into Sublime Text snippets
require "awesome_print"
replacements = {
"App" => "App",
"Artisan" => "Art",
"Auth" => "Auth",
@samvasko
samvasko / keil_compiler.rb
Created April 10, 2013 08:28
Helper for compiling keil projects from command line
# Samuel Vasko
# [email protected]
com = 3 # COM port that you want to use
# End of settings
check = `where UV4`
unless check.to_s =~/\w\:.+/
raise "\nYou dont have keil UV4 in you path"
else