- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
Discover gists
(* | |
File: | |
Application.applicationWillSwitchOut.scpt | |
Abstract: | |
This script will automatically save all on-disk text documents with unsaved | |
changes when BBEdit loses focus. | |
Version: |
import pymel.core as pm | |
''' | |
An Autodesk Maya PyMEL script that calculates a pole vector position | |
based on 3 input PyNode objects. example: leg, knee, ankle bones. | |
Chris Lesage chris@rigmarolestudio.com | |
''' | |
def calculate_pole_vector(p1, p2, p3, poleDistance=1): | |
""" |
# -*- coding: utf-8 -*- | |
""" | |
@Time : 2021/10/3 19:18 | |
@Auth : d1rrick DanielGao.eth | |
@File :autochat.py | |
@IDE :vscode | |
""" | |
import requests | |
import json |
Non-Uniform Memory Access (NUMA) is one of the computer memory design methods used in multiprocessor systems, and the time to access the memory varies depending on the relative position between the memory and the processor. In the NUMA architecture, when a processor accesses its local memory, it is faster than when it accesses the remote memory. Remote memory refers to memory that is connected to another processor, and local memory refers to memory that is connected to its own processor. In other words, it is a technology to increase memory access efficiency while using multiple processors on one motherboard. When a specific processor runs out of memory, it monopolizes the bus by itself, so other processors have to play. , and designate 'access only here', and call it a NUMA node.
lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060 12GB] (rev a1)
Below are single-line commands to run in BASH on a Raspberry Pi to rewrite the toner chips to "full" for a Ricoh SP C250DN Printer. | |
You will need to have the 4 files below in the same directory: "black" "cyan" "magenta" and "yellow". | |
The chip is near one edge of the cartridge. The pad closest to the edge is GND, followed by VCC, DATA, and Clock. | |
On the Pi, connect VCC and GND to +3.3V and GND. Connect Data to (physical numbering) 3 and 5. They are the I2C Data and Clock pins. | |
Be sure i2c is enabled and installed. | |
modprobe -r i2c_bcm2708 ;modprobe i2c_bcm2708 baudrate=9600 | |
<?php | |
$domain = $_GET['domain']; | |
$w = new DomainAge(); | |
echo $w->age($domain); | |
class DomainAge | |
{ | |
private $WHOIS_SERVERS = array( | |
"com" => array("whois.verisign-grs.com", "/Creation Date:(.*)/"), | |
"net" => array("whois.verisign-grs.com", "/Creation Date:(.*)/"), |