Skip to content

Instantly share code, notes, and snippets.

@shrimp2t
shrimp2t / extensions.json
Last active Jun 5, 2021
VSCode's Settings - Syncing
View extensions.json
[
{
"id": "annsk.alignment",
"name": "alignment",
"publisher": "annsk",
"version": "0.3.0"
},
{
"id": "bmewburn.vscode-intelephense-client",
"name": "vscode-intelephense-client",
View config-base.js
const productBases = {
BeddingSet: [
{
variant: ["Type:Quilt Cover + 2 Pillow Cases", "Size:Twin"],
price: 92.23,
sale_price: 59.95,
},
{
variant: ["Type:Quilt Cover + 2 Pillow Cases", "Size:Full"],
price: 107.62,
@shrimp2t
shrimp2t / get-instagram-images-without-api.php
Last active Jun 24, 2020
Get instagram images without API
View get-instagram-images-without-api.php
<?php
/**
* @see http://stackoverflow.com/questions/40836144/php-how-to-get-images-from-instagram-without-api-access-token
* You can use function file_get_conents instead wp_remote_get
*/
function get_instagram_images( $username, $limit = 100 ){
$profile_url = "https://www.instagram.com/$username/?__a=1";
$iteration_url = $profile_url;
View s3-upload-from-url.js
require('dotenv').config();
const stream = require('stream');
const axios = require('axios');
const AWS = require('aws-sdk');
const mime = require('mime-types');
const path = require('path');
class S3RemoteUploader {
constructor(remoteAddr, fileName) {
View SNV_Commands.md

Add new files:

 svn add .
 
 svn add --force .

Commit:

View itemdrop.txt
/Index Level Grade Option0 Option1 Option2 Option3 Option4 Option5 Option6 Duration MapNumber MonsterClass MonsterLevelMin MonsterLevelMax DropRate Comment
//7345 0 0 * * * * * * * 0 33 * 1 250 1000000 // Hell Maine’s Leather - Hell Maine - Aida 2
//Index Level Grade Option0 Option1 Option2 Option3 Option4 Option5 Option6 Duration MapNumber MonsterClass MonsterLevelMin MonsterLevelMax DropRate Comment
6159 0 0 * * * * * * * 0 * * 1 150 900000 //Jewel of Chaos
6176 0 0 * * * * * * * 0 * * 12 49 0 //Box of Red Ribbon
6177 0
@shrimp2t
shrimp2t / text-column-formater.html
Created Apr 3, 2020
Convert Text to Nice Columns
View text-column-formater.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<title>Convert Text to Nice Columns</title>
<style type="text/css">
body {
display: block;
View proxy-schema.js
// Proxy
const ProxySchema = Schema({
ip: { type: String, required: true, unique: true },
status: String,
last_update: Date,
last_use: Date,
blocked_date: Date,
blocked_count: { type: Number, default: 0 },
error_count: { type: Number, default: 0 },
note: String,
View s3-stream.js
const streamingS3 = require('streaming-s3');
const fs = require('fs');
const path = require('path');
const _ = require('lodash');
const AWS = require('aws-sdk');
require('dotenv').config();
const mime = require('mime-types');
const S3StreamUploader = (args) => {
let options = _.defaults(args, {
View Fb-Keyworks.txt
"order here" https://
order at https://
Get yours here
Get yours here https://
Order Here
Order Here:
Order here =>
Order Here https
Get yours today
store here