Skip to content

Instantly share code, notes, and snippets.

hebbian hebbian

Block or report user

Report or block hebbian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hebbian
hebbian / .vimrc
Last active May 8, 2018
Mac Vimrc
View .vimrc
" Run git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin() " required
" core plugins
Plugin 'gmarik/Vundle.vim'
View staircounter
[
{
"placeName" : "Aston Ruko No. 5",
"stairs" : "23"
},
{
"placeName" : "Halte Harkit Downstair",
"stairs" : "43"
},
{
@hebbian
hebbian / Sublime Text 3 Build 3103 License Key - CRACK
Created Nov 18, 2016
Sublime Text 3 Build 3103 License Key - CRACK
View Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
View gist:62a8945ccbfa4d24f89f2aff1be61428
{
"name": "dummy-service",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
View .vimrc
" Run git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin() " required
" core plugins
Plugin 'gmarik/Vundle.vim'
Plugin 'flazz/vim-colorschemes'
View gist:ef9ec9e13d2e32395818
(function() {
var app = angular.module("skeleton-app", []);
}());
(function(app) {
app.controller('njajalcontroller', function($scope){
$scope.hello = "hahahaha";
});
}(angular.module('app')));
@hebbian
hebbian / .Xresources
Last active Oct 29, 2015
.Xresources
View .Xresources
!You may want to run $ xrdb -merge ~/.Xresources with each update
!Xft settings:
Xft*dpi: 96
Xft*hinting: true
! hintstyle 3 for flat-panel displays
Xft*hintstyle: 2
Xft*antialias: true
! uncomment/adjust for flat-panel display
View gist:ab2527a359c4d08e05ab
...
var settings = {
baseurl : 'http://demo.tlevi.net/',
path: ....
...
@hebbian
hebbian / gist:9fb51f8113d147ca4f8d
Last active Aug 29, 2015
Get Base64 image file from file input with Angular
View gist:9fb51f8113d147ca4f8d
app.directive("fileread", [function () {
return {
scope: {
fileread: "="
},
link: function (scope, element, attributes) {
element.bind("change", function (changeEvent) {
var reader = new FileReader();
reader.onload = function (loadEvent) {
scope.$apply(function () {
View gist:aa88da1930ba17786cf1
io.on("connection", function(socket) {
console.log('A user connected');
socket.emit('message', { message: 'welcome to the chat' });
socket.on('send:message', function(data) {
console.log(data);
socket.emit('message', data);
});
});
You can’t perform that action at this time.