Skip to content

Instantly share code, notes, and snippets.

perryraskin / coverdash-demo.tsx
Last active November 7, 2022 04:11
Coverdash Demo
function App() {
return <CoverdashQuotes license="xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx" />
perryraskin / cloudwatch-get-logs.js
Created February 2, 2022 14:04
Get live logs from AWS CloudWatch
var AWS = require("aws-sdk");
region: "us-west-2",
const {
perryraskin / generateTrackingUrl.js
Last active May 16, 2022 00:16
A function that generates tracking URLs for popular shipping carriers
function generateTrackingUrl(carrier, trackingNumber) {
switch (carrier) {
case "usps":
return `${trackingNumber}`
case "ups":
return `${trackingNumber}&requester=WT/trackdetails`
case "fedex":
return `${trackingNumber}`
case "lasership":
return `${trackingNumber}`
perryraskin / html-classes-to-css.js
Last active July 10, 2024 14:01
Extract CSS classes out of HTML code
* Use this script to extract CSS classes out of HTML code.
* Replace the test HTML code on line 8-9 with your HTML code.
* Run `node html-classes-to-css.js` in your terminal and a CSS file will be generated.
const fs = require("fs");
var html =
`<div id="1432" class="test class-test another-class"><p class="bold text-small something"></p></div>`;
perryraskin / hoobs_checker.js
Last active March 18, 2021 00:43
HOOBS Status Checker
1) Install node-fetch via npm or yarn in the same directory as this file.
2) Create a bot in Telegram via chatting with @BotFather and copy the bot token he provides.
3) Start the chat, then go to<token>/getUpdates in a browser.
4) Send a message to the bot, refresh the webpage, and you should see your chat id in the json response.
5) Fill in BOT_TOKEN and CHAT_ID below.
6) Run this on your HOOBS server and HOOBS will never be down again.
perryraskin / Details.js
Created September 12, 2019 01:13
Me.js vs Details.js
import React, { Component } from 'react';
import { ScrollView, Button, View, Text } from 'react-native';
import { createStackNavigator, createAppContainer } from 'react-navigation';
import { Header, Actions, Info } from '../components/UserDetails/';
import colors from '../config/colors';
class Details extends Component {
render() {

Keybase proof

I hereby claim:

  • I am perryraskin on github.
  • I am perryraskin ( on keybase.
  • I have a public key ASBBaYp8UNxQIxI5qQdWelN84F2lsa753rjMWbCoaN-9OQo

To claim this, I am signing this object:

* CS 323 Project 1 (C++)
* Linked List Class: Insertion Sort
* Perry Raskin
* Computer Science, CUNY Queens College
perryraskin / index.html
Last active September 1, 2017 21:05
cookie css
<!DOCTYPE html>
<title>Cookie Store</title>
<link rel="stylesheet" href="" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<div class="container-fluid">
<!DOCTYPE html>
<title>Please Participate in Our Survey!</title>
<link href=",700|Varela+Round" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="style.css">
<div class="header">