This application uses Microsoft.Office.Interop.Outlook
API to extract outlook contact list. The contact can be further filtered by firsName
or lastName
̨̨
Discover gists
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 _ = require('lodash'); | |
const admin = require('firebase-admin'); | |
// Generate your service account in google cloud | |
const serviceAccount = require("./serviceAccount.json"); | |
// example data [{ name: "user name" place: "earth" }] | |
const data = require("./elements.json"); | |
admin.initializeApp({ | |
credential: admin.credential.cert(serviceAccount), |
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 _ = require('lodash'); | |
const admin = require('firebase-admin'); | |
// Generate your service account in google cloud | |
const serviceAccount = require("./serviceAccount.json"); | |
// example data [{ name: "user name" place: "earth" }] | |
const data = require("./elements.json"); | |
admin.initializeApp({ | |
credential: admin.credential.cert(serviceAccount), |
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
rules_version = '2'; | |
service firebase.storage { | |
match /b/projectname.appspot.com/o { | |
match /{allPaths=**} { | |
// Allow access by all users | |
allow read, write; | |
} | |
}} |
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
// This is a basic uniswap frontrunning MEV bot | |
// Made by Merunas follow me on youtube to see how to use it and edit it: https://www.youtube.com/channel/UCJInIwgW1duAEnMHHxDK7XQ | |
// 1. Setup ethers, required variables, contracts and start function | |
const { Wallet, ethers } = require('ethers') | |
const { FlashbotsBundleProvider, FlashbotsBundleResolution } = require('@flashbots/ethers-provider-bundle') | |
// 1.1 Setup ABIs and Bytecodes | |
const UniswapAbi = [{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"amountADesired","type":"uint256"},{"internalType":"uint256","name":"amountBDesire |
This can be downloaded here. It is highly recommended to download the Lite version. You can also download the full version, but most of the image is just bloat for this project.
It is recommended to get a Class 10 or better card to improve speeds. Lower-quality cards will take tremendously longer to format, configure, and load on the RaspberryPi.
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 React from "react"; | |
// import "./style.css"; | |
const Students = props => { | |
/* | |
db.collection("cities") | |
.get() | |
.then(function(querySnapshot) { | |
querySnapshot.forEach(function(doc) { | |
// doc.data() is never undefined for query doc snapshots | |
console.log(doc.id, " => ", doc.data()); |
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
Standard PDF Fonts | |
David Gasperoni edited this page on 28 Sep 2017 · 3 revisions | |
'Courier' | |
'Courier-Bold' | |
'Courier-Oblique' | |
'Courier-BoldOblique' | |
'Helvetica' | |
'Helvetica-Bold' | |
'Helvetica-Oblique' | |
'Helvetica-BoldOblique' |
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
<?php | |
function is_valid_luhn($number) { | |
settype($number, 'string'); | |
$sumTable = array( | |
array(0,1,2,3,4,5,6,7,8,9), | |
array(0,2,4,6,8,1,3,5,7,9)); | |
$sum = 0; | |
$flip = 0; | |
for ($i = strlen($number) - 1; $i >= 0; $i--) { | |
$sum += $sumTable[$flip++ & 0x1][$number[$i]]; |
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
<?php | |
$my_text = 'The quick brown [fox].'; | |
preg_match('#\[(.*?)\]#', $my_text, $match); | |
print $match[1]."\n"; | |
?> |
NewerOlder