- save to
/usr/local/git/bin/git-plush
chmod 755
- ???
- profit
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
Autor designu: ^ludwik http://ludwik.org/blipapp-jest-jakis-chetny-developer/ | |
Przeportował: ^ravicious | |
Poprawił: ^plugawy (fix dla licznika blipnięć + pozycja textarea) | |
# Instalacja | |
- kliknij na przycisk `raw` przy panelu dla pliku `deskblip.css` | |
- skopiuj całą zawartość i przejdź do ustawień deskBlipa | |
- tam wklej skopiowaną zawartość i kliknij przycisk `Zapisz ustawienia` | |
# Podgląd |
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
desc "Check the JavaScript source with JSLint - exit with status 1 if any of the files fail." | |
task :jslint do | |
jsl_path = "jsl" # get jsl bin from http://javascriptlint.com | |
failed_files = [] | |
Dir['public/**/*.js'].reject{|path| path =~ /javascripts.js/ }.each do |fname| | |
cmd = "#{jsl_path} -nologo -nocontext -nofilelisting -process #{fname} | grep err" | |
results = %x{#{cmd}} | |
puts "#{fname} | " << results | |
results.gsub("(s)","").split(",").each do |result| |
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
// w js nie ma switcha z regexem :-( |
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
num = ARGV[0].to_i | |
x = num | |
y = num - 2 | |
grid = Array.new(y) { Array.new(x, '*')} | |
required_spiral_depth = x / 4 + 1 | |
(1..required_spiral_depth*2).step(2) do |spiral_depth| | |
(spiral_depth..y-spiral_depth).each do |i| |
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
⨀_⨀ | |
⨂_⨂ | |
(/◔ ◡ ◔)/ | |
°ﺑ° | |
(¬_¬) | |
(´・ω・`) | |
(ʘ_ʘ) | |
(ʘ‿ʘ) | |
(ಠ_ಠ) | |
(ಠ‾ಠ) |
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 | |
# It doesn't get more efficient than this. | |
echo "I\'m going to pull from" | |
echo $1 | |
echo $2 | |
echo "and then push, ok?" | |
git pull $1 $2 && git push $1 $2 |
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
class ApplicationController < ActionController::Base | |
protected | |
def _log msg, is_json=false, level=:notice | |
request.env[is_json ? 'firebug.logs_obj' : 'firebug.logs'] ||=[] | |
request.env[is_json ? 'firebug.logs_obj' : 'firebug.logs'] = [[level.to_sym, (is_json ? msg.to_s.to_json : msg.to_s)]] | |
end | |
end |
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
// ==UserScript== | |
// @name BillMonitor Admin | |
// @namespace http://userscripts.org/users/useridnumber | |
// @include http://192.168.1.7/results* | |
// @include http://192.168.1.7/mobile/results* | |
// ==/UserScript== | |
var UID; | |
var forms = document.getElementsByTagName('form'); | |
for (i=0; i < forms.length; i++) |
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
function a( args ) { | |
// wysyłam do Flasha args | |
} | |
function b( myArgs ) { | |
// 5 sekund po otrzymaniu args, Flash wywołuje funkcję b( myArgs ) | |
} | |
a(args); |
OlderNewer