Skip to content

Instantly share code, notes, and snippets.

Reinhart Previano K. reinhart1010

  • Jakarta, Indonesia
Block or report user

Report or block reinhart1010

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@reinhart1010
reinhart1010 / data.json
Last active Dec 7, 2019
Design System Preferences
View data.json
{
"adwaita": {
"about": {
"name": "Adwaita",
"developer": "GNOME"
},
"follows": "linux-common",
"colors": {
"blue": "#3584e4",
"green": "#33d17a",
@reinhart1010
reinhart1010 / streamer.html
Created Oct 29, 2019
Record audio stream via Web Audio API
View streamer.html
<!DOCTYPE html>
<html>
<body>
<button onclick="record({audio: true, video: false})">Record</button>
<button onclick="stop()">Stop</button>
</body>
<script>
let timeInterval = 3000; // in milliseconds
// From https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
@reinhart1010
reinhart1010 / fizzbuzz-jsfuck.js
Created Oct 28, 2019
FizzBuzz challenge but compiled in JSFuck
View fizzbuzz-jsfuck.js
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((+(!+[]+!+[]+!+[]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]
@reinhart1010
reinhart1010 / install.sh
Created Mar 6, 2019
[Mirror] Fedora 29 post-install script
View install.sh
#!/bin/bash
# This post-install script is originated from the Fedora 29 Community Challenge by Jason Evangelho
# Bash script originally created by Tobias
# Please make sure that you run this in user mode (non-root), and make this file executable (chmod +x /path/to/install.sh)
# You can run this command with --nonfree or --steam to get no nonfree (proprietary) software or Valve's Steam client.
# For more information visit https://git.furworks.de/tobias/fedora-install
if [ $(id -u) = 0 ]; then
echo "This script changes your users gsettings and should thus not be run as root!"
echo "You may need to enter your password multiple times!"
@reinhart1010
reinhart1010 / ua-samples.txt
Last active Mar 18, 2019
User-agent Samples
View ua-samples.txt
[engine-blink]
Baidu Spark Browser 2.x, Chrome 33.0.1
Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Spark/2.x Safari/537.36
Falkon 3.0, Chrome 61
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/3.0.0 Chrome/61.0.3163.140 Safari/537.36
Google Chrome 51
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Maxthon Browser 4.0, Chrome 22
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.1 (KHTML, like Gecko) Maxthon/4.0.0.2000 Chrome/22.0.1229.79 Safari/537.1
Opera 38, Chrome 51
View Graphics-Chrome.txt
Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only. Hardware acceleration disabled
@reinhart1010
reinhart1010 / common-voice-stats
Last active Dec 2, 2017
Common Voice Statistics
View common-voice-stats
Common Voice Stats
=======
The following data is gathered from sample sentences of Mozilla Common Voice (https://voice.mozilla.org)
which are located in their GitHub Repository (https://github.com/mozilla/voice-web/).
Data are accurate as of commit 4963e19d8a2eadc9eb12c60a0c61b6c02d08f067 (1 Dec 2017).
1 aaa
1 aaliyah
1 abarrotes
1 abatte
@reinhart1010
reinhart1010 / princess2jailbreak.js
Created Aug 12, 2017
Replacing Princesses with Jailbreaks
View princess2jailbreak.js
// Princess2Jailbreak.js
// Because Jailbreak is... (Spoiler Alert!)
// Copyright (c) Reinhart Previano K.
// Code licensed under MIT License
// Requires UTF+8 Encoding to be set
// This script will NOT Jailbreak your iOS device (iPhone, iPad, iPod Touch).
// Instead, this is a reference to The Emoji Movie by Sony Pictures Animation.
// Want a more geeky reference?
You can’t perform that action at this time.