I hereby claim:
- I am asuh on github.
- I am asuh (https://keybase.io/asuh) on keybase.
- I have a public key ASA5GySldrdOvSxhRE_sFiMC-3aayiBOE3cHASzXvr0Kwwo
To claim this, I am signing this object:
async function getGithubProfile(username) { | |
let response; | |
try { | |
response = await fetch(`https://api.github.com/users/${username}`); | |
} catch (error) { | |
throw new Error(`Network error: ${error.message}`); | |
} | |
if (!response.ok) { | |
const message = `HTTP error! status: ${response.status}`; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Code Sandbox</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
body { |
/* | |
* Fluid Typography | |
* https://smashingmagazine.com/2022/10/fluid-typography-clamp-sass-functions/ | |
*/ | |
@use 'sass:math'; | |
$default-min-bp: 320px; | |
$default-max-bp: 960px; | |
<?php | |
/** | |
* Plugin Name: Filter WooCommerce Orders by Payment Method | |
* Plugin URI: http://skyverge.com/ | |
* Description: Filters WooCommerce orders by the payment method used :) | |
* Author: SkyVerge | |
* Author URI: http://www.skyverge.com/ | |
* Version: 1.0.0 | |
* Text Domain: wc-filter-orders-by-payment | |
* |
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
<?php | |
class comments_reloaded extends \Walker_Comment { | |
var $tree_type = 'comment'; | |
var $db_fields = array( | |
'parent' => 'comment_parent', | |
'id' => 'comment_ID' | |
); | |
// start_lvl – Wrapper for child comments list, starts the list before the elements are added. |
I hereby claim:
To claim this, I am signing this object:
{ | |
"name": "_s", | |
"version": "1.0.1", | |
"scripts": { | |
"clean": "rimraf style.css", | |
"notify": "notify -h", | |
"serve": "browser-sync start --proxy 'my.asuh' --files '**/*.css, **/*.js, *.php, **/*.json, dist/images/*'", | |
"imagemin": "imagemin src/images/* -o dist/images", | |
"icons": "svgo -f src/images/icons -o dist/images/icons && svg-sprite-generate -d dist/images/icons -o dist/images/icons/sprite.svg", | |
"lint-scss": "stylelint 'sass/**/*.scss' --syntax scss --config node_modules/stylelint-config-wordpress/scss.js", |
'use strict'; | |
/* | |
* Javascript templating system | |
*/ | |
$(document).ready(function() { | |
function loadTemplate(element, path, callback, done) { | |
$.ajax(path).then(function(html) { | |
element.append(html); | |
if (typeof callback === 'function' ) { |
{ | |
"always_show_minimap_viewport": true, | |
// Using ⌘-P, these files will never be shown in results | |
"binary_file_patterns": | |
[ | |
"*.ai", | |
"*.dds", | |
"*.eot", | |
"*.gif", | |
"*.ico", |