Made with
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
from faker import Faker | |
from faker.providers import date_time, address | |
from random import randint | |
fake = Faker() | |
fake.add_provider(date_time) | |
productsInShops = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { applyMiddleware, compose, createStore } from 'redux' | |
import thunk from 'redux-thunk' | |
import reducers from 'reducers' | |
const middleware = [thunk] | |
let enhancers | |
// eslint-disable-next-line | |
if (__DEV__) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export async function handler(event, context) { | |
// await stuff here | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Firebase.h> // see: https://rnfirebase.io/#configure-firebase-with-ios-credentials | |
#import "RNFBMessagingModule.h" | |
#import "AppDelegate.h" | |
#import <React/RCTBridge.h> | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> | |
#import <UMCore/UMModuleRegistry.h> | |
#import <UMReactNativeAdapter/UMNativeModulesProxy.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Pandora Enhancer | |
// @namespace https://www.pandora.com/ | |
// @version 1.0 | |
// @description hides perma-sidebar for ads | |
// @author www.github.com/RealDyllon | |
// @match https://www.pandora.com/* | |
// @icon https://www.google.com/s2/favicons?domain=pandora.com | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt update | |
apt upgrade | |
apt install build-essentials | |
dpkg --add-architecture i386 | |
apt install wine64 wine32 | |
apt install dpkg fakeroot rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(__STDC__) | |
printf("Supports C89\n"); | |
# if defined(__STDC_VERSION__) | |
printf("Supports C90\n"); | |
# if (__STDC_VERSION__ >= 199409L) | |
printf("Supports C94\n"); | |
# endif | |
# if (__STDC_VERSION__ >= 199901L) | |
printf("Supports C99\n"); | |
# endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require("express"); | |
const app = express(); | |
app.listen(3000, () => { | |
console.log("Server running on port 3000"); | |
}); | |
app.all("/", (req, res) => { | |
res.set({ | |
"Content-Type": "application/json", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
AZURE APP SERVICE - WEB CONFIG FOR EXPRESS APP HOSTED ON WINDOWS WEB APP | |
--> | |
<!-- | |
This configuration file is required if iisnode is used to run node processes behind | |
IIS or IIS Express. For more information, visit: | |
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config | |
--> |
NewerOlder