I hereby claim:
- I am unascribed on github.
- I am unascribed (https://keybase.io/unascribed) on keybase.
- I have a public key ASAY1vak2jFeqsTH7onTkwv4_RCC_tFGP8_APlkdf98pjwo
To claim this, I am signing this object:
package com.unascribed.blah; | |
class Blah { // warning: Class Foo does not specify an access modifier (defaulting to package) | |
int blah; // warning: The field blah does not specify an access modifier and the | |
// class specifies no default (defaulting to package) | |
void hello() { // warning: The method hello does not specify an access modifier and | |
// the class specifies no default (defaulting to package) | |
System.out.println("Hello, World!"); | |
} |
package com.unascribed.brokenhash; | |
import java.math.BigInteger; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.nio.charset.StandardCharsets; | |
/** | |
* Generates a broken Minecraft-style twos-complement signed |
// ==UserScript== | |
// @name YouTube Subscriptions Filter | |
// @namespace https://unascribed.com/ | |
// @version 0.1 | |
// @description allows you to filter your YouTube subscription feed | |
// @author Aesen "unascribed" Vismea | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js | |
// @match https://www.youtube.com/feed/subscriptions | |
// @match http://www.youtube.com/feed/subscriptions | |
// ==/UserScript== |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
fifo=/tmp/$RANDOM$RANDOM.raw | |
temp1=/tmp/$RANDOM$RANDOM.1.wav | |
temp2=/tmp/$RANDOM$RANDOM.2.wav | |
display=1 | |
while [ -e /tmp/.X${display}-lock ]; do | |
display=`expr $display + 1` | |
done | |
Xvfb :$display -ac -screen 0 832x588x24 & | |
xvfb=$! |
These are guidelines. Feel free to ignore them. Use your judgement.
Tabs and spaces. Tabs for indentation, spaces for alignment. Reasoning: Tabs are more semantic, and their size can be adjusted to the reader's preference.
If changing the indent size in your editor misaligns the code and makes it unclear, you did it wrong.
package com.unascribed.materialpicker; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.Random; | |
public enum MaterialColor { | |
RED("Red", | |
0xFF_F44336, |
var font = "Roboto", monofont = "Roboto Mono", | |
d=document,s=d.createElement('style');s.textContent="body,input,textarea{font-family:'"+font+"' !important}pre{font-family:'"+monofont+"' !important}.avatar-large,.avatar-profile,.avatar-small,.avatar-xlarge,.avatar-xsmall,.avatar-xxlarge{border-radius:10%}.guild-inner,.guilds-add{border-radius:10% !important;transition:filter 0.2s}.guild-inner:hover{filter: brightness(150%)}.message-group{padding:10px 0}textarea[placeholder^=Message][style='height:auto;']{height:20px !important}.emoji.jumboable{width:48px;height:48px}";d.head.appendChild(s); |