This file contains hidden or 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
/* External dependencies */ | |
import React from 'react'; | |
import { Col, Row, Text } from 'atomize'; | |
/* Local dependencies */ | |
import './under-construction.scss'; | |
import videoSrc from '../../assets/video/under-construction.mp4'; | |
export default class UnderConstruction extends React.PureComponent { | |
video: React.RefObject<HTMLVideoElement>; |
This file contains hidden or 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
#!/bin/sh | |
# Usage: sh fd_count.sh PID | |
RE='^[0-9]+$' | |
while :; do | |
clear; | |
for pid in `ps aux | awk '{print $2}'`; do | |
if [[ $pid =~ $RE ]] ; then |
This file contains hidden or 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
#!/bin/bash | |
# Usage: | |
# chmod +x delete_merged_git_branches.sh | |
# ./delete_merged_git_branches.sh /path/to/git/repo | |
DIR="$1" | |
if [ -z "$DIR" ]; then | |
echo "Error: Git directory path should be provided." | |
echo "Usage:" |
This file contains hidden or 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
var http = require('http'); | |
http.createServer(function (request, response) { | |
response.setHeader('Content-Type', 'text/html; charset=UTF-8'); | |
response.setHeader('Transfer-Encoding', 'chunked'); | |
var html = | |
'<!DOCTYPE html>' + | |
'<html lang="en">' + | |
'<head>' + |