Developers using Neo4j are currently working alone when they should be working together, but they don’t know who is working on the same technologies. This graph aims to solve this by linking developers with similar interests, projects and events.
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
[opcache] | |
; Determines if Zend OPCache is enabled | |
opcache.enable=1 | |
; Determines if Zend OPCache is enabled for the CLI version of PHP | |
;opcache.enable_cli=1 | |
; The OPcache shared memory storage size. | |
opcache.memory_consumption=512 |
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 | |
$client_id = '<insert your spotify app client id>'; | |
$client_secret = '<insert your spotify app client secret>'; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, 'https://accounts.spotify.com/api/token' ); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 ); | |
curl_setopt($ch, CURLOPT_POST, 1 ); | |
curl_setopt($ch, CURLOPT_POSTFIELDS, 'grant_type=client_credentials' ); |
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
// Example Query | |
PROFILE | |
MATCH (user:User {id: 2})-[:LIKES]->(liked_song)<-[:LIKES]-(similar_user)-[:LIKES]->(recommendation) | |
WITH similar_user, COUNT(similar_user) as similar_user_rating, user | |
ORDER BY similar_user_rating | |
LIMIT 50 | |
MATCH (similar_user)-[:LIKES]->(recommendation) | |
WHERE user<>similar_user AND |
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
Vazir|Vazir.zip|https://github.com/rastikerdar/vazir-font/archive/master.zip|"A Persian (Farsi) Font"| | |
Samim|Samim.zip|https://github.com/rastikerdar/samim-font/archive/master.zip|"A Persian (Farsi) Font"| | |
Tanha|Tanha.zip|https://github.com/rastikerdar/tanha-font/archive/master.zip|"A Persian (Farsi) Font"| | |
Vazir-code|Vazir-code.zip|https://github.com/rastikerdar/vazir-code-font/archive/master.zip|"A Persian (Farsi) Font"| | |
Awesome|Awesome.zip|https://github.com/rastikerdar/awesome-persian/archive/master.zip|"A Persian (Farsi) Font"| | |
Shabnam|Shabnam.zip|https://github.com/rastikerdar/shabnam-font/archive/master.zip|"A Persian (Farsi) Font"| | |
Gandom|Gandom.zip|https://github.com/rastikerdar/gandom-font/archive/master.zip|"A Persian (Farsi) Font"| | |
Sahel|Sahel.zip|https://github.com/rastikerdar/sahel-font/archive/master.zip|"A Persian (Farsi) Font"| | |
Parastoo|Parastoo.zip|https://github.com/rastikerdar/parastoo-font/archive/master.zip|"A Persian (Farsi) Font"| | |
Mirza|Mirza.zip|https://github.com/rastikerdar/mirza-fo |
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 | |
# PHP - low level AES 256 crypt/decrypt using openssl | |
# compatible with 'openssl enc' format | |
# | |
# Key: 32 | |
# IV : 16 | |
# | |
# Padding: PKCS7 (operated by openssl) | |
# EVP_BytesToKey: SHA256 |
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 javax.crypto.Cipher; | |
import javax.crypto.spec.IvParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; | |
import java.io.UnsupportedEncodingException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.util.Arrays; | |
import java.util.Base64; | |
import java.io.ByteArrayOutputStream; |
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 java.nio.charset.StandardCharsets; | |
import java.security.InvalidAlgorithmParameterException; | |
import java.security.InvalidKeyException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.SecureRandom; | |
import java.security.spec.InvalidKeySpecException; | |
import java.util.Arrays; | |
import java.util.Base64; |
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 javax.crypto.spec.SecretKeySpec | |
import javax.crypto.Cipher | |
import javax.crypto.spec.IvParameterSpec | |
import java.math.BigInteger | |
import javax.crypto.SecretKeyFactory | |
import java.security.MessageDigest | |
import javax.xml.bind.DatatypeConverter._ | |
object Crypto extends App { | |