Forked from Shyam Chen (陳彥澄)'s Pen Material Design (Radio Button).
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
body { | |
font-family: medium-content-sans-serif-font,"Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Arial,sans-serif; | |
} | |
.popover-markup .popover-footer { | |
margin: 0; | |
padding: 8px 14px; | |
font-size: 14px; | |
font-weight: 400; | |
line-height: 18px; |
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
[{"name":"users","color":"Red","position":{"x":591,"y":356},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c23","order":0}],"relation":[],"seeding":[]},{"name":"institutions","color":"Green","position":{"x":123,"y":106},"increment":true,"timestamp":true,"softdelete":false,"column":[],"relation":[{"extramethods":"","foreignkeys":"","name":"users","relatedmodel":"users","relationtype":"hasMany","usenamespace":"App"}],"seeding":[]}] |
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
fetch("https://www1.nseindia.com/live_market/dynaContent/live_watch/get_quote/ajaxGetQuoteJSON.jsp?symbol=dhfl", {method: "POST"}).then(function(response) { | |
return response.json(); | |
}).then( (json) => console.log(json)); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 http.client, base64, sys, json | |
if len(sys.argv) < 2 : | |
print("Usage: " + sys.argv[0] + " username password"); | |
quit() | |
proxy_details = { | |
"url" : "xxx.xxx.xxx.xxx", # replace with correct URI | |
"port" : 8080, # replace with correct port | |
"username" : sys.argv[1], # From command line argument |
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
REM Join Videos with compatible codecs - This sometimes does not include audio for some videos. | |
REM IN case of such problems, try the next command | |
vlc.exe 1.mp4 2.mp4 --sout "#gather:std{access=file, dst=3.mp4}" --sout-keep | |
# Join Videos with compatible codecs - Audio also works | |
vlc.exe --advanced --sout "#gather:std{access=file,mux=ts,dst=3.mp4}" --no-sout-all --sout-keep 1.mp4 2.mp4 |
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 numpy as np | |
def predict(X, w): | |
return X * w | |
def loss (X, Y, w): | |
return np.average ((predict(X, w) - Y) ** 2) | |
def gradient(X, Y, w): | |
w_gradient = 2 * np.average (X * (predict(X, w) - Y)) |
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
# Extract cert | |
openssl pkcs12 -in ./file.pfx -clcerts -nokeys -out file.crt | |
# Extract Key | |
openssl pkcs12 -in ./file.pfx -nocerts -nodes -out file.key | |
# Check cert | |
openssl x509 -in file.crt -text -noout | |
#Check Key |