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
-- DO NOT REPRODUCE THIS CODE WITHOUT PERMISSION | |
-- IT DAMAGES THE HOMEBREW COMMUNITY | |
-- PSPInstaller Adrenaline Edition by Richard Sparrow (spike_132000/TheMeq) | |
IMG_BACK = pge.texture.load("INC/IMG_BACK.PNG") | |
IMG_STAR = pge.texture.load("INC/IMG_STAR.PNG") | |
IMG_LOGO = pge.texture.load("INC/IMG_LOGO.PNG") | |
IMG_SEA = pge.texture.load("INC/IMG_SEARCH.PNG") | |
IMG_OPT = pge.texture.load("INC/IMG_OPTIONS.PNG") | |
IMG_ABO = pge.texture.load("INC/IMG_ABOUT.PNG") |
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
/* | |
* Copyright (c) 2007, 2008 [email protected] | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* * Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. |
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
<?php | |
public function get_available_times($serv, $date = false) | |
{ | |
$CI = &get_instance(); | |
$opening = 9 * 60; | |
$closing = 19 * 60; | |
$available = array(); |
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 | |
find ~/.steam/root/ -name "libgcc_s.so*" -print -delete | |
find ~/.steam/root/ -name "libstdc++.so*" -print -delete | |
find ~/.steam/root/ -name "libxcb.so*" -print -delete | |
find ~/.steam/root/ -name "libgpg-error.so*" -print -delete |
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
# encoding: utf-8 | |
def translit text | |
out = text | |
translit_compound_from = "ჩჭღძშჟ".split "" | |
translit_compound_to = "chchghdzshzh".scan /../ | |
translit_single_from = "ქწერტთყუიოპასდფგჰჯკლზხცვბნმ".split "" | |
translit_single_to = "qwerttyuiopasdpghjklzxcvbnm".split "" |
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 | |
delay=3 | |
while true; do | |
mon_total_down_old=$(cat /proc/net/dev | grep $1 | awk '{print $2}') | |
mon_total_up_old=$(cat /proc/net/dev | grep $1 | awk '{print $10}') | |
sleep 1 | |
mon_total_down=$(cat /proc/net/dev | grep $1 | awk '{print $2}') | |
mon_total_up=$(cat /proc/net/dev | grep $1 | awk '{print $10}') |
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
var downloadLink = document.createElement('a'); | |
downloadLink.download = true; | |
for(i in document.images) { downloadLink.href = document.images[i].src; downloadLink.click() }; |
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
org.gradle.daemon=true | |
org.gradle.configureondemand=true | |
org.gradle.parallel=true |
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(){ | |
var code_container = document.createElement("div"); | |
code_container.id = "code_container"; | |
code_container.innerText = document.documentElement.innerHTML; | |
code_container.innerHTML = "<pre><code>"+ code_container.innerHTML + "</code></pre>"; | |
document.body.appendChild(code_container); | |
// More at https://github.com/isagalaev/highlight.js/tree/master/src/styles |
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
int spk = 0; | |
void setup() {} | |
void loop() { | |
tone(spk,660,100); | |
delay(150); | |
tone(spk,660,100); | |
delay(300); | |
tone(spk,660,100); |
NewerOlder