Skip to content

Instantly share code, notes, and snippets.

View Soundcloud app.js
This file has been truncated, but you can view the full file.
webpackJsonp([2], {
0: function(e, t, n) {
n(1220), e.exports = n(1187)
},
6: function(e, t) {
e.exports = function() {
var e = [];
return e.toString = function() {
for (var e = [], t = 0; t < this.length; t++) {
@JBou
JBou / SoundCloud API Endpoints.cs
Last active Jan 18, 2022
SoundCloud API Endpoints
View SoundCloud API Endpoints.cs
//Authorization
{ ApiCommand.AuthorizationCodeFlow, new Uri("https://soundcloud.com/connect?scope=non-expiring&client_id={0}&response_type={1}&redirect_uri={2}") },
{ ApiCommand.UserAgentFlow, new Uri("https://soundcloud.com/connect?client_id={0}&response_type=token&redirect_uri={1}") },
{ ApiCommand.UserCredentialsFlow, new Uri("https://api.soundcloud.com/oauth2/token?client_id={0}&client_secret={1}&grant_type=password&username={2}&password={3}") },
{ ApiCommand.RefreshToken, new Uri("https://api.soundcloud.com/oauth2/token?client_id={0}&client_secret={1}&grant_type=refresh_token&refresh_token={2}") },
//Me
{ ApiCommand.Me, new Uri("https://api.soundcloud.com/me.json") },
{ ApiCommand.MeTracks, new Uri("https://api.soundcloud.com/me/tracks.json") },
{ ApiCommand.MeComments, new Uri("https://api.soundcloud.com/me/comments.json") },
View keybase.md

Keybase proof

I hereby claim:

  • I am JBou on github.
  • I am jbou (https://keybase.io/jbou) on keybase.
  • I have a public key whose fingerprint is F205 FF01 4B7D 85A6 9413 CBB8 0A8D E38C 9094 13CD

To claim this, I am signing this object:

@JBou
JBou / AdventofCode.java
Created Dec 3, 2015
AdventofCode - Day 3
View AdventofCode.java
import java.lang.Math;
import java.util.ArrayList;
public class HelloWorld
{
public static void main(String[] args)
{
int part = 2;
View Matrix.ino
int row[] = {2, 3, 4, 5, 6, 7, 8, 9};
int column[] = {10, 11, 12, 13, A0, A1, A2, A3};
//int buffer[8][8];
int lastRow;
int lastColumn;
void setup() {
// put your setup code here, to run once:
View Sketchup img to material converter
#This script was created by Adam Beazley for public use and may be edited.
#http://www.abeazleydesign.com
#Directions
#Just click in the Import Materials button in the plugins menue and type in the location of all of you image files.
#This script will create a material and name it the same name as the image file and then use that file as the texture.
#all textures will come in at a standard scale and must be edited later
#after all materials and textures have been imported into the model, simply add them to your library
#you can then save the library as a .skm library file through sketchup.
#have fun!!!
#
View gist:9c6bcb84cb2afda2e485
@Override
public void g(float sideMot, float forMot) {
if(this.passenger != null && this.passenger instanceof EntityHuman) {
this.lastYaw = this.yaw = this.passenger.yaw;
this.pitch = this.passenger.pitch * 0.5F;
this.setYawPitch(this.yaw, this.pitch);//Update the pitch and yaw
this.aI = this.aG = this.yaw;
sideMot = ((EntityLiving)this.passenger).aX * 0.5F;
forMot = ((EntityLiving)this.passenger).aY;
if(forMot <= 0.0F) {
@JBou
JBou / JsonAPI2SDK.cs
Last active Aug 29, 2015
JSONAPI SDK updated to API2
View JsonAPI2SDK.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Sockets;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Net;
View CryptedTextAnimation.cs
using System;
using System.Text;
using System.Windows;
using System.Windows.Media.Animation;
namespace leMaik.Animations {
class CryptedTextAnimation : AnimationTimeline {
static CryptedTextAnimation() {
LengthProperty = DependencyProperty.Register("Length", typeof(int), typeof(CryptedTextAnimation));
}
View scroll.css
::-webkit-scrollbar{
height:16px;
overflow:visible;
width:16px;
}
::-webkit-scrollbar-button{
height:0;
width:0;
}