Skip to content

Instantly share code, notes, and snippets.

View JOELwindows7's full-sized avatar
🏠
Working from home

Joel Robert Justiawan JOELwindows7

🏠
Working from home
View GitHub Profile
@korya
korya / Subfolder to git repo.md
Last active August 21, 2025 16:19
Convert subfolder into Git submodule
@osmero
osmero / new_gist_file_0
Created May 20, 2014 14:29
Change device display size. Just make sure the screen is not currently displaying at the moment you run the command.
# change
./adb shell am display-size 800x480
# revert to default
./adb shell am display-size reset
@maxired
maxired / RadialBlurInGimp.md
Last active December 23, 2021 06:45
How to do a radial blur in Gimp

#How to do a radial blur in Gimp

Gimp as some function to do blur effects, but it is not clear how to do a radial blur : Blur part of an image, starting from a point, with a radius, and the effect beeing less and less strong the farer we are from the central point.

Here is a sample Radial Blur Sample.

Here is the solution :

  • start with an unblur image.
  • copy the layer
  • on the top layer apply a gaussian blur : "filter -> blur -> gaussian blur". Change parameters so that the image is blurry as you want. This settings would be the blurriest of your final image.
package;
import js.Node;
import pony.math.Matrix;
import pony.midi.devices.Launchpad;
import pony.midi.devices.LaunchpadColor;
import pony.text.TextTools;
import pony.time.Timer;
using pony.Tools;
@aVolpe
aVolpe / Vibration.cs
Created October 16, 2014 02:45
Vibration for Unity3d with Android native Call, with fallback to Handlheld.Vibrate()
using UnityEngine;
using System.Collections;
public static class Vibration
{
#if UNITY_ANDROID && !UNITY_EDITOR
public static AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
public static AndroidJavaObject currentActivity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity");
public static AndroidJavaObject vibrator = currentActivity.Call<AndroidJavaObject>("getSystemService", "vibrator");
@bluehat
bluehat / guide.markdown
Last active October 30, 2024 02:45
Privacy Guide for Activists with Haters

Privacy Guide for Activists with Haters

In light of the gamergate fiasco, we realized that most of the targeted individuals had their private information trivially publicly online. Later, several authors had more immediate experience with online harassment. This guide is meant to help people take basic steps required to protect their online privacy, hopefully reducing the number of crazies who threaten to show up at your house.

We do not believe that leaving your information online means you deserve harassment, we simply wish to arm people who want to speak up with all the defensive tools available.

This guide is not an anti-government-surveillance document, as it only helps you make your information private and does not remove it. Fighting back against surveilance is a very different problem, and there is a separate guide for that.

Hiding Your Whois Data

This one should be easy, but it is the number one privacy failure w
@KonradIT
KonradIT / README.md
Last active October 20, 2021 12:40
Missile

#Missile - PushBullet made awesome

Version 1.2

Missile is a PushBullet client for Ubuntu and other Linux operating systems. It supports:

  • Send note to all devices
  • Send link to all devices
  • Send list to all devices
  • Send image to all devices
@MaxLaumeister
MaxLaumeister / Grub_Powerup.md
Last active November 22, 2025 11:12
Grub Init Tune: Mario Bros. Mushroom Powerup

Grub Init Tune - Mario Bros. Mushroom Powerup

This Grub Init Tune will make your computer sound like a Super Mushroom every time you turn it on! This only works for the Grub bootloader - this generally means you need to have Linux (or other Grub-based OS) installed.

Here's the code, which goes in your /etc/default/grub file:

GRUB_INIT_TUNE="1750 523 1 392 1 523 1 659 1 784 1 1047 1 784 1 415 1 523 1 622 1 831 1 622 1 831 1 1046 1 1244 1 1661 1 1244 1 466 1 587 1 698 1 932 1 1195 1 1397 1 1865 1 1397 1"

Installation Instructions

@roachhd
roachhd / README.md
Last active December 23, 2025 22:24
Basics of BrainFuck

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

BrainFuck Programming Tutorial by: Katie

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

INTRODUCTION

@kkemple
kkemple / konami-marionette-behavior.js
Last active July 9, 2021 20:14
Konami code Marionette Behavior
'use strict';
var Marionette = require('backbone.marionette'),
Konami;
Konami = Marionette.Behavior.extend({
defaults: {
code : [38, 38, 40, 40, 37, 39, 37, 39, 66, 65]
},
events: {