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 python | |
# -*- coding: utf-8 -*- | |
# | |
# System: macOS 12+ | |
# Version: TeamViewer v15.x.x | |
# Python: 3.x.x | |
# Command: sudo python TeamViewer-15-id-changer.py | |
# | |
import os |
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 * as React from 'react'; | |
interface Props extends React.HTMLProps<HTMLInputElement> { | |
onFileSelect: (file: File) => void; | |
} | |
const FileInput = ({ onFileSelect, ...props }: Props) => { | |
const inputRef = React.useRef<HTMLInputElement>(); | |
const onChange = (event: React.ChangeEvent) => { |
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
wp_enqueue_script('custom-script', '/js/functions.js'); |
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
<?php | |
function perform_database_action(){ | |
mysql_query(“INSERT into table_name (col1, col2, col3) VALUES ('$value1','$value2', '$value3'); | |
} |
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
function new_shortcode($atts, $content = null) { | |
extract(shortcode_atts(array( | |
“type” => “warning” | |
), $atts)); | |
return '<div class="alert alert-'.$type.'">'.$content.'</div>'; | |
} | |
add_shortcode(“warning_box”, “new_shortcode”); |
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
Verifying my Blockstack ID is secured with the address 1P1yP3wsQDGPaoMgMbFhe5oEu4DNmBtP54 https://explorer.blockstack.org/address/1P1yP3wsQDGPaoMgMbFhe5oEu4DNmBtP54 |
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
const { src, dest, watch, series, parallel } = require('gulp'), | |
server = require('browser-sync').create(), | |
sass = require('gulp-sass'), | |
sassLint = require('gulp-sass-lint'), | |
autoPrefixer = require('gulp-autoprefixer'), | |
sourcemaps = require('gulp-sourcemaps'), | |
plumber = require('gulp-plumber'), | |
uglify = require('gulp-uglify'), | |
kit = require('gulp-kit'), | |
notify = require('gulp-notify'), |
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
/* (320x480) iPhone (Original, 3G, 3GS) */ | |
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { | |
/* insert styles here */ | |
} | |
/* (320x480) Smartphone, Portrait */ | |
@media only screen and (device-width: 320px) and (orientation: portrait) { | |
/* insert styles here */ | |
} | |
NewerOlder