olwdelah eb yht amne
- hallowed be thy amen
- hallowed be thy mane
- hallowed be thy mean
- hallowed be thy name
function PuushMeManager(){ | |
var sizeChart = { | |
"GB": 1024 * 1024 * 1024, | |
"MB": 1024 * 1024, | |
"KB": 1024, | |
"B": 1 | |
}; | |
this.getTotalPages = function(){ |
String.prototype.endsWith = function(suffix) { return this.indexOf(suffix, this.length - suffix.length) !== -1; }; | |
Object.prototype.forEach = function(callback){ for(var i = 0; i < this.length; i++){ if(typeof this[i] == "object"){ callback(this[i]); } } }; | |
function getElement(html){ var d = document.createElement("div"); d.setAttribute('style', 'display: none;'); d.innerHTML = html; document.body.appendChild(d); return d; } | |
function download(url){ var frame = document.createElement("iframe"); frame.src = url; document.body.appendChild(frame); } | |
String.prototype.download = function (ea, q){ | |
var e, d, x = new XMLHttpRequest(); | |
if(ea[0] > ea[1] || ea[0] < 0 || ea[1] <= 0 || [360,480,720,1080].indexOf(q) == -1){ return; } | |
for(var i = ea[0]; i <= ea[1]; i++){ | |
e = this+" "+((i < 10) ? "0": "") + i; | |
x.open("GET","http://horriblesubs.info/lib/search.php?value="+encodeURIComponent(e),false); |
require 'net/http' | |
require 'json' | |
if (!Dir.exist?("Archive")) then Dir.mkdir("Archive"); end | |
@hashes = []; # Hashleri tutmak için array oluştur. | |
def downloadGif(uri, hash) | |
uri = URI(uri); | |
http = Net::HTTP.new(uri.host, uri.port); |
array = "ABCDEFGHJKLMNOPRSTYZ".split(""); | |
width = 5; | |
panel = [20,50]; | |
sayac = 0; | |
length = array.count; | |
limit = width * length; | |
while (true) do | |
for r in 0..panel[0] do | |
for c in 0..panel[1] do |
var scrubber = document.getElementsByClassName("html5-scrubber-button")[0]; | |
var interval = setInterval(function(){ | |
if(window.parseInt(scrubber.style.webkitTransformOriginX.replace("%","")) == 100){ | |
var ws = new WebSocket("ws://192.168.1.10:6321"); | |
ws.onopen = function(){ ws.send("shut"); }; | |
} | |
}, 5000); |
#encoding: UTF-8 | |
#gist-url: https://gist.github.com/Yengas/8761691 | |
@options = { | |
:d => [ "" ], | |
:t => ['txt', 'srt', 'sub'], # Dosya uzantıları | |
:e => ["iso-8859-9", "utf-8"], # Encoding Ayaları -> 0'dan 1'e | |
:r => false # Türkçe karakterleri sil | |
}; | |
@total = 0; |
In this gist, i will try to explain you what is the main differences between known string comparison techniques and where to use them.
This is the main equality operator in Java. To summarize it, this method compares the left and right hands references to eachother and returns boolean. This means this operator returns true only if left and right variable both point at the same Object in the memory. As in most of the class comparisons, this operators is discouraged to use if you're not really intented to check if two variables point to same object.
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; | |
import java.net.InetAddress; | |
import java.net.Socket; | |
public class Whois { | |
public static void main(String[] args) throws Exception { |