- All mandatory fields should be validated and indicated by asterisk (*) symbol
- Validation error messages should be displayed properly at correct position
- All error messages should be displayed in same CSS style (e.g. using red color)
- General confirmation messages should be displayed using CSS style other than error messages style (e.g. using green color)
- Tool tips text should be meaningful
- Dropdown fields should have first entry as blank or text like ‘Select’
- Delete functionality for any record on page should ask for confirmation
- Select/deselect all records options should be provided if page supports record add/delete/update functionality
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
```` | |
`-+ydmNNNNNNNNmmhs/- | |
.+hNMMMMMMMMMMMMMMMMMMMNy+` | |
.omMMMMMMMMMMMMMMMMMMMMMMMMMMNh/` | |
:hMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNy. | |
-dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN/ | |
+NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMs | |
+MMMMMMMMMMMMNmddddmNMMMNddhhdmNMMMMMMMMMMMy | |
-NMMMMMMMNho:. .-` `:ohNMMMMMMMy | |
`` `mMMMMMMd+` `+mMMMMMMs `-` |
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
$("select[multiple]").each(function () { | |
$(this).parents('.form-group').append('<a href=# class="remove-selection"><i class="entypo-cancel"></i></a>') | |
}); | |
$(document).on('click','.remove-selection',function(){ | |
$(this).parents('.form-group').find('select').find('option:selected').each(function(i,o){ | |
o.selected = false; | |
}); | |
return false; | |
}) |
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
#!/usr/bin/php | |
<?php | |
$view_id = ""; | |
$token = ""; | |
$key = ""; | |
echo "Realtime: " . request($view_id, $token, $key); | |
function request($id, $token, $key) | |
{ |
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
--my first real haskell app | |
import System.Environment | |
import System.Directory | |
import System.IO | |
import Data.List | |
dispatch :: [(String, [String] -> IO ())] | |
dispatch = [ | |
("add",add), |
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 Data.List | |
main = do | |
contents <- getContents | |
let | |
threes = groupsOf 3 (map read $ lines contents) | |
roadSystem = map (\[a,b,c] -> Section a b c) threes | |
path = optimalPath roadSystem | |
pathString = concat $ map (show . fst) path | |
pathPrice = sum $ map snd path |
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
//go to that location | |
window.location = "https://soundcloud.com/you/tracks"; | |
//select all tracks on the page. | |
document.querySelectorAll("input[type='checkbox']").forEach((a,b)=>{a.click();}); | |
//define remover function | |
let remover = function(){ | |
let a = document.querySelector(".trackManagerTrackList__item"); | |
if(!a) { | |
clearInterval(window.d); | |
} |
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
#!/usr/bin/env bash | |
exec < ./lastpass_export.csv | |
read header | |
while IFS="," read -r url username password extra name grouping fav | |
do | |
ins="$password\n | |
---\n | |
url: $url\n | |
username: $username \n | |
password: $password \n |
I hereby claim:
- I am delirehberi on github.
- I am delirehberi (https://keybase.io/delirehberi) on keybase.
- I have a public key ASAFVOwYa61VBt8Z5jUdNGgDuOQxJBjRYvS929z3uJNKJgo
To claim this, I am signing this object:
Original post : https://unix.stackexchange.com/a/310699
nmcli con add type wifi ifname wlp0s20f3 con-name delirehberiwifi autoconnect yes ssid delirehberiwifi
nmcli con modify delirehberiwifi 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify delirehberiwifi wifi-sec.key-mgmt wpa-psk
nmcli con modify delirehberiwifi wifi-sec.psk "deliloy1542"
OlderNewer