(Based on a tweet by chrisvfritz)
A simple CLI tool for working with PR forks
- With git-pr, We can checkout with:
# Checkout in pr/123 branch(Based on a tweet by chrisvfritz)
A simple CLI tool for working with PR forks
# Checkout in pr/123 branch| function aliasthat { | |
| if [ -n ${1} ]; then | |
| fc -e "sed -i -e \"s/^.*/echo alias $1=\\\"'\\\"\'&\'\\\"'\\\" >> ~\/.bash_alias/\"" | |
| . ~/.bash_alias | |
| fi | |
| } |
| <!-- Based on https://github.com/dangvanthanh/vue-ckeditor --> | |
| <template> | |
| <div class="ckeditor"> | |
| <textarea :id="id" :value="value"></textarea> | |
| </div> | |
| </template> | |
| <style scoped> | |
| .ckeditor { |
| // $ yarn add request request-promise | |
| // $ node count userA userB | |
| const request = require('request-promise') | |
| const get = resource => request({ | |
| url: /^https/.test(resource) ? resource : `https://api.github.com/${resource}`, | |
| headers: { | |
| 'User-Agent': 'GitHub Contrib Counter', | |
| 'Authorization': 'token YOUR_PERSONAL_ACCESS_TOKEN' |
| window._ = require('lodash'); | |
| /** | |
| * We'll load jQuery and the Bootstrap jQuery plugin which provides support | |
| * for JavaScript based Bootstrap features such as modals and tabs. This | |
| * code may be modified to fit the specific needs of your application. | |
| */ | |
| window.$ = window.jQuery = require('jquery'); |
| version: '3' | |
| services: | |
| mirror: | |
| image: quay.io/banian/registry | |
| volumes: | |
| - /data/local/docker_mirror:/var/lib/registry | |
| deploy: | |
| placement: | |
| constraints: | |
| - node.hostname==node1 |
توسعه دهنده متن باز و مدیر فنی در فندق
[داستانی طور هم میشه نوشت ؟ :دی]
sudo apt install hplip cupssmb://ceit\[username]:[password]@ceit/192.168.128.10/HPLaserJ4015| #include <errno.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <netinet/in.h> | |
| #include <arpa/inet.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> |
| echo "151.101.84.133 raw.githubusercontent.com" | sudo tee -a /etc/hosts |