Skip to content

Instantly share code, notes, and snippets.

View dandyraka's full-sized avatar
🚶‍♂️
Lontang lantung

Dandy Raka dandyraka

🚶‍♂️
Lontang lantung
View GitHub Profile
Codec: Intel Broadwell HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862808
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
Codec: Conexant CX20751/2
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x14f1510f
Subsystem Id: 0x17aa3826
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
https://ibb.co/D4MYMBk
sudo apt-get update && \
sudo apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \
ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo apt install ./google-chrome-stable_current_amd64.deb
@dandyraka
dandyraka / STRESS
Last active August 22, 2021 14:04
bang gw cuman ingetin ke elu sekali lagi ya,ga selamanya orang bisa diajak bercanda,gw liat tiap hari lo bercandain postingan orang trus komen pake kata"gajelas,bukannya apa bang orang juga punya hati,sorry ya gw unfriend dulu agak risih berteman sama orang kaya lu,kaya gapunya otak aja gitu maaf ya lebih kasar nya kaya orang stress
---
Ok, gua minta maaf. Tapi jangan bawa gua ke polres plis. Gua cuman bercanda pengen liat ekspresi lu pissed off. Tapi klo lu gak terima, gua janji gua ga bakal ngehina Kanon buat lu. Tapi sadar sendiri aja, lu udh gede tapi kok masih fanatik sama kartun 2d. Nanti sedikit dicandain malah marah, coba jadi orang dewasa dong. Lu percuma jadi dah gede tapi marah-marah sambil melapor kepada pihak yang berwajib cuma karena waifunya dilecehkan. Gimana sih nanti lo paling ladur lagi kek Illya kemaren. Lo dulu puja-puja Illya eh sekarang malah ngebash Illya, sia-sia buang energi aja. Tak kirain lo gak kayak nopan, eh tau-taunya malah sama atau lebih buruknya melebihi dia. Duh.
Tapi sekal
function decodeMorse(morseCode) {
let ref = {
'.-': 'a',
'-...': 'b',
'-.-.': 'c',
'-..': 'd',
'.': 'e',
'..-.': 'f',
'--.': 'g',
'....': 'h',
@dandyraka
dandyraka / readme.md
Last active July 14, 2021 05:42
DapurBuzzerTwibbon - Installation

Cara Install

  1. buka terminal
  2. composer install
  3. rename file .env.example jadi .env
  4. bikin database
  5. isi informasi database di .env

image

== INDONESIA ==
ANTV
ATV
Berita Satu
CNBC Indonesia
CNN Indonesia
DAAI TV
Dunia Lain
GTV
IDX Channel
const fetch = require('node-fetch');
const originalUrl = "https://www.facebook.com/buzzfeedtasty/videos/558134848844881/";
const url = new URL(originalUrl);
const mobileUrl = `https://m.facebook.com${url.pathname}`;
fetch(mobileUrl)
.then(async res => {
const response = await res.text();
const find = response.match(/>{(.*?)}</);
url=$1
if [[ "$url" == *"ouo.io"* ]]; then
ck=".ck.txt"
res=$(curl -ls $url -c $ck)
while true; do
if [[ "$res" == *"x-token"* ]] && [[ "$res" == *"_token"* ]] && ! [[ $res == *"Redirecting to"* ]]; then
token=$(echo $res | grep -Po '(?<=_token"\stype\="hidden"\svalue\=")([^"]+)')
url=$(echo $res | grep -Po '(?<=action\=")(http[^"]+)')
res=$(curl $url -sd "_token=$token&x-token=&v-token=" -b $ck)
echo -e "\x1b[96m[REDIRECT]\x1b[0m $url "
@dandyraka
dandyraka / download.php
Created December 20, 2021 09:49 — forked from nicklasos/download.php
Curl PHP multiple files downloading
<?php
function multiple_download(array $urls, $save_path = '/tmp')
{
$multi_handle = curl_multi_init();
$file_pointers = [];
$curl_handles = [];
// Add curl multi handles, one per file we don't already have
foreach ($urls as $key => $url) {