Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| cls | |
| function ConvertTo-Date | |
| { | |
| param( [string]$time ) | |
| return Get-Date -Hour ($time -split ":")[0] -Minute ($time -split ":")[1] -Second 0 | |
| } | |
| function Get-WhatSooner |
| package main | |
| import "net/http" | |
| import "time" | |
| import "log" | |
| func main() { | |
| s := &http.Server{ | |
| Addr: ":8080", | |
| //Handler: myHandler, |
| package main | |
| import "fmt" | |
| import "os" | |
| //import "time" | |
| // объявление типа | |
| var text3 uint = 1 | |
| // объявление константы | |
| const pi int = 3 | |
| // объявление неск. переменных |
| function Get-IpLocation($ip) | |
| { | |
| return Invoke-RestMethod "http://ip-api.com/json/$ip" | |
| } | |
| Get-IpLocation -ip 194.226.100.138 |
| cls | |
| function Get-IpLocation($ip) | |
| { | |
| return Invoke-RestMethod "http://ip-api.com/json/$ip" | |
| } | |
| function Trace-Route | |
| { | |
| [CmdletBinding()] |
| /// <summary> | |
| /// Replace ??? with a number(s) of printing order | |
| /// </summary> | |
| class CatchingGame | |
| { | |
| public CatchingGame() | |
| { | |
| Console.WriteLine("1 - Catching Game"); | |
| Bob(new Action(Alice), "Alice" ); |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| var ejs = require('ejs'); | |
| var template1 = '<?= users.join(" | "); ?>'; | |
| var template2 = '<ul><% users.forEach( function(user){ %><li><%= user %></li><% }); %></ul>'; | |
| function _render( data, template, delimeter){ | |
| return ejs.render( template, data, {delimiter:delimeter} ); | |
| } | |
| function UserList( template, delimeter ){ |
© http://www.lovemytool.com/blog/2010/04/top-10-wireshark-filters-by-chris-greer.html
ip.addr == 10.0.0.1 Sets a filter for any packet with 10.0.0.1, as either the source or dest
ip.addr==10.0.0.1 && ip.addr==10.0.0.2 sets a conversation filter between the two defined IP addresses
http or dns sets a filter to display all http and dns
tcp.port==4000 sets a filter for any TCP packet with 4000 as a source or dest port