Skip to content

Instantly share code, notes, and snippets.

View ianmuchina's full-sized avatar
💭
In prod we test

Ian Muchina ianmuchina

💭
In prod we test
View GitHub Profile
export async function TweetResultByRestID(tweetId: string, headers: HeadersInit): Promise<any> {
let url = "https://api.twitter.com/graphql/ncDeACNGIApPMaqGVuF_rw/TweetResultByRestId"
const variables = {
tweetId: tweetId,
includePromotedContent: true,
withBirdwatchNotes: true,
withCommunity: true,
withDownvotePerspective: true,
withReactionsMetadata: true,
NUZB █████▍░░░░░░░░░░░ 14 plays
Tyler, the Creator ███░░░░░░░░░░░░░░ 8 plays
070 Shake █▌░░░░░░░░░░░░░░░ 4 plays
Obskür █▌░░░░░░░░░░░░░░░ 4 plays
Endor █▏░░░░░░░░░░░░░░░ 3 plays
Nicky Romero █▏░░░░░░░░░░░░░░░ 3 plays
Don Diablo ▊░░░░░░░░░░░░░░░░ 2 plays
Hi-Lo ▊░░░░░░░░░░░░░░░░ 2 plays
Johnny Chay ▊░░░░░░░░░░░░░░░░ 2 plays
Martin Garrix ▊░░░░░░░░░░░░░░░░ 2 plays
This file has been truncated, but you can view the full file.
{
"title": "One Piece",
"description": "As a child, Monkey D. Luffy dreamed of becoming the King of Pirates. But his life changed when he accidentally gained the power to stretch like rubber … at the cost of never being able to swim again! Now Luffy, with the help of a motley collection of nakama, is setting off in search of “One Piece,” said to be the greatest treasure in the world …",
"artist": "Unknown",
"author": "Unknown",
"cover": "https://cdn.onepiecechapters.com/file/CDN-M-A-N/Screen-Shot-2021-04-23-at-9.31.12-PM-1024x732v3.png",
"chapters": {
"One Piece Chapter 1": {
"title": "One Piece Chapter 1",
"volume": "",
@ianmuchina
ianmuchina / cr.sh
Last active July 7, 2021 06:00
Compile and run c program in one command. similar to go run
#!/bin/bash
# Usage cr <filename> <args>
# Filename without extension
file=${1%.*}
# Error checks
# If no commands are given
if [ $# -eq 0 ]; then
@ianmuchina
ianmuchina / tailwind-colors.scss
Created January 27, 2021 20:43
Tailwind palette as sass variables
$blueGray-50: #f8fafc;
$blueGray-100: #f1f5f9;
$blueGray-200: #e2e8f0;
$blueGray-300: #cbd5e1;
$blueGray-400: #94a3b8;
$blueGray-500: #64748b;
$blueGray-600: #475569;
$blueGray-700: #334155;
$blueGray-800: #1e293b;
$blueGray-900: #0f172a;
@ianmuchina
ianmuchina / tailwind-colors.css
Created January 27, 2021 20:41
Tailwind Palette as css variables
:root {
--blueGray-50: #f8fafc;
--blueGray-100: #f1f5f9;
--blueGray-200: #e2e8f0;
--blueGray-300: #cbd5e1;
--blueGray-400: #94a3b8;
--blueGray-500: #64748b;
--blueGray-600: #475569;
--blueGray-700: #334155;
--blueGray-800: #1e293b;
@ianmuchina
ianmuchina / tailwind.gpl
Last active January 27, 2021 20:43
Tailwind palette as Gimp & Inkscape palette
GIMP Palette
Name: Tailwind
Columns: 0
248 250 252
241 245 249
226 232 240
203 213 225
148 163 184
100 116 139
71 85 105

Keybase proof

I hereby claim:

  • I am ianmuchina on github.
  • I am ianmuchina (https://keybase.io/ianmuchina) on keybase.
  • I have a public key ASBMd-xO5i5h_9kLPffiEHaMwlOWm6BOn5K_bbMSNgh04Qo

To claim this, I am signing this object: