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
cd $JAVA_HOME; for feil in bin/*; do if [ -f $feil -a -x $feil ]; then sudo update-alternatives --install /usr/$feil `basename $feil` $JAVA_HOME/$feil 8001; fi; done; |
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
LEL=`cvt $2 $3 $4 | grep "Modeline" | cut -b10- | tr -s " " | sed 's/\([0-9]*x[0-9]*\)_[^\"]*/\1/g'`;NAEM=`echo $LEL | cut -d'"' -f2`;echo $LEL | xargs xrandr --newmode;xrandr --addmode $1 $NAEM;xrandr --output $1 --mode $NAEM |
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
<? | |
/* | |
SoundCloud XSPF playlist generator / track redirector | |
Made by MarcusD | |
Usage examples: | |
sc_xspf.php?username/sets/playlistname | |
sc_xspf.php?username/trackname | |
sc_xspf.php?https://soundcloud.com/username/sets/playlistname | |
sc_xspf.php?https://soundcloud.com/username/trackname |
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
#include <stdio.h> | |
typedef unsigned long long u64; | |
u64 lcm(u64 f, u64 s) | |
{ | |
u64 n1, n2; | |
if(f > s) { n1 = f; n2 = s; } | |
else { n1 = s; n2 = f; } |
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
XSCREEN 2 | |
BGSCREEN 0,134217728,16 | |
A=0 | |
C=1 | |
U=0 | |
K=0 | |
S=0 | |
SM=0 | |
EM=0 | |
@MAINLOOP |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
typedef unsigned long long u64; | |
typedef unsigned int u32; | |
typedef unsigned short u16; | |
typedef unsigned char u8; | |
int main(int argc, char** argv) |
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
using System; | |
using System.IO; | |
using System.Drawing; | |
class Program | |
{ | |
static Color transparent = Color.FromArgb(0, 0, 0, 0); | |
static Color black = Color.FromArgb(0xFF, 0, 0, 0); | |
public static void Main(String[] args) |
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
#--------------------------------------------------------------------------------- | |
# Makefile by MarcusD (https://github.com/MarcuzD) © $(date +"%Y") | |
#--------------------------------------------------------------------------------- | |
ifeq ($(strip $(DEVKITPRO)),) | |
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro") | |
endif | |
ifeq ($(strip $(DEVKITARM)),) | |
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM") |
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 | |
#Copyright MarcusD 2016 | |
echo cat>cat && cat cat | cat <cat >>cat |
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
#include <3ds.h> | |
Handle ptmsysmHandle = 0; | |
Result ptmsysmInit() | |
{ | |
return srvGetServiceHandle(&ptmsysmHandle, "ptm:sysm"); | |
} |
OlderNewer