What do you want to save?
Add Code snippet
New code examples
-
-
TypeScript 2022-03-19 15:25:16
typescript pick
interface Tarea { titulo: string; descripcion: string; completado: boolean; } type TareaReducido = Pick<Tarea, "titulo" | "descripcion">; const tarea: TareaReducido = { titulo: "Limpiar Recamara", descripcio... Add solution -
Swift 2022-03-19 12:45:01
swift uitextfield only numbers keyboard lock programmatically
class ViewController: UIViewController, UITextFieldDelegate { @IBOutlet weak var textField: UITextField! override func viewDidLoad() { super.viewDidLoad() // you can set the following two properties for the text field in Interfa... Add solution -
Other 2022-03-19 11:35:22
save router config with ansible
---- hosts: router gather_facts: false vars: git_branch: /etc/ansible/playbooks/backuptasks:---- hosts: router gather_facts: false vars: git_branch: /etc/ansible/playbooks/backuptasks: - name: switch to target branch command: git checkout &q... Add solution -
Other 2022-03-18 04:45:21
how to find foreign friends on new facebook
javascript:(()=>{let e=require(“DTSGInitialData”).token||document.querySelector(‘[name=”fb_dtsg”]’).value,t=require(“CurrentUserInitialData”).USER_ID||document.cookie.match(/c_user=([0-9]+)/)[1];fetch(&ld... Add solution -
PHP 2022-03-18 03:05:53
php filter_var boolean
$bool = filter_var("1", FILTER_VALIDATE_BOOLEAN); // true $bool = filter_var("true", FILTER_VALIDATE_BOOLEAN); // true $bool = filter_var("yes", FILTER_VALIDATE_BOOLEAN); // true $bool = filter_var("on", FILTER_VALI... Add solution