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
#!/bin/bash | |
echo "removing evaluation key" | |
rm ~/.IntelliJIdea2017.3/config/eval/idea173.evaluation.key | |
echo "resetting evalsprt in options.xml" | |
sed -i '/evlsprt/d' ~/.IntelliJIdea2017.3/config/options/options.xml | |
echo "resetting evalsprt in prefs.xml" | |
sed -i '/evlsprt/d' ~/.java/.userPrefs/prefs.xml |
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 json | |
import os | |
from PIL import Image | |
from urllib.request import urlopen | |
import csv | |
min_width = 800 | |
min_height = 500 | |
min_quality = 3 |
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
//create a current timestamp in javascript | |
timestamp = new Date(); | |
pm.environment.set(“timestamp”, timestamp); | |
//function to get a unique identifier to be used as echo token | |
function guid() { | |
function s4() { | |
return Math.floor((1 + Math.random()) * 0x10000) | |
.toString(16) |
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
<option value="zw">"Zimbabwe"</option> | |
<option value="ad">"Andorra"</option> | |
<option value="ae">"United Arab Emirates"</option> | |
<option value="af">"Afghanistan"</option> | |
<option value="ag">"Antigua and Barbuda"</option> | |
<option value="ai">"Anguilla"</option> | |
<option value="al">"Albania"</option> | |
<option value="am">"Armenia"</option> | |
<option value="an">"Netherlands Antilles"</option> | |
<option value="ao">"Angola"</option> |
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
# built application files | |
*.apk | |
*.ap_ | |
# files for the dex VM | |
*.dex | |
# Java class files | |
*.class |
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
//rsa algorithm for encryption | |
#include<stdio.h> | |
int modulo(int,int,int); | |
int main() | |
{ | |
int p,q,m; | |
printf("\nEnter p and q values (Prime Numbers)"); | |
scanf("%d%d",&p,&q); | |
printf("\nEnter the message:"); |
NewerOlder