- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
- When only changing documentation, include
[ci skip]in the commit title - Consider starting the commit message with an applicable emoji
Download and run the Adobe Creative Cloud Cleaner Tool, their multi-app uninstaller and wipe assistant. Adobe does recommend running individual application uninstallers first, your call. Click the Clean All option.
Type a one line command in terminal find ~/ -iname "*adobe*" and it's shows up all files which match pattern.
To remove all files
`sudo rm -rf /Applications/Adobe* /Applications/Utilities/Adobe* /Library/Application\ Support/Adobe /Library/Preferences/com.adobe.* /Library/PrivilegedHelperTools/com.adobe.* /private/var/db/receipts/com.adobe.* ~/Library/Application\ Support/Adobe* ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.adobe* ~/Library/Application\ Support/CrashReporter/Adobe* ~/Library/Caches/Adobe ~/Library/Caches/com.Adobe.* ~/Library/Caches/com.adobe.* ~/Library/Cookies/com.adobe.* ~/Library/Logs/Adobe* ~/Librar
| // C# version -> https://gist.github.com/dehghani-mehdi/2af3d913786d8b1b286f9c28cc75d5f4 | |
| var isValidNationalCode = function(code) { | |
| if (code.length !== 10 || /(\d)(\1){9}/.test(code)) return false; | |
| var sum = 0, | |
| chars = code.split(''), | |
| lastDigit, | |
| remainder; |
| export const enum KeyCode { | |
| ENTER = 13, | |
| SPACE = 32 | |
| } | |
| export function keyListener(keyCodes: KeyCode | KeyCode[]) { | |
| if (!(keyCodes instanceof Array)) { | |
| keyCodes = [keyCodes]; | |
| } |
| <body> | |
| <p template="hello"> | |
| Hello <i>{name}</i> | |
| </p> | |
| <script> | |
| var HelloTemplate = new Template(document.querySelector("[template=hello]")); | |
| var clone = HelloTemplate.clone({ name: "John Doe" }).append(); | |
| clone.update({ name: "John Update" }); | |
| </script> | |
| </body> |
| wget https://launchpad.net/openssh/main/6.9p1/+download/openssh-6.9p1.tar.gz | |
| tar -xvf openssh-6.9p1.tar.gz | |
| cd openssh-6.9p1/ | |
| ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-md5-passwords --with-privsep-path=/var/lib/sshd | |
| sudo make install | |
| sshd -V |
| /** @jsx React.DOM */ | |
| 'use strict'; | |
| var React = require('react'); | |
| var MasonryMixin = require('./react-masonry-mixin.js'); | |
| var masonryOptions = { | |
| transitionDuration: 0 |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Display files sizes next to download links</title> | |
| </head> | |
| <body> | |
| <a href="001.html" class="fetchSize">First Trickshot</a> | |
| <a href="034.html" class="fetchSize">This Trickshot</a> | |
| <a href="ball.png" class="fetchSize">Ball.png</a> |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| $('.dragger').mousedown(function (event) { | |
| $(this) | |
| .data('down', true) | |
| .data('x', event.clientX) | |
| .data('scrollLeft', this.scrollLeft) | |
| .addClass("dragging"); | |
| return false; |