Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name
<!DOCTYPE html> | |
<html ng-app="PaperAngularExample"> | |
<head> | |
<script type="text/javascript" src="bower_components/angular/angular.js"></script> | |
<script type="text/javascript" src="bower_components/paper/dist/paper-full.js"></script> | |
<script> | |
var app = angular.module('PaperAngularExample', []); | |
app.directive('draw', function() { | |
return { |
One option is to create ~/Library/KeyBindings/ and save a property list like this as ~/Library/KeyBindings/DefaultKeyBinding.dict: | |
{ | |
"\UF729" = moveToBeginningOfLine:; | |
"\UF72B" = moveToEndOfLine:; | |
"$\UF729" = moveToBeginningOfLineAndModifySelection:; | |
"$\UF72B" = moveToEndOfLineAndModifySelection:; | |
} | |
Quit and reopen applications to apply the changes. Note that DefaultKeyBinding.dict is not supported by some applications like Xcode or Firefox. |
.glyphicon-refresh-animate { | |
-animation: spin .7s infinite linear; | |
-webkit-animation: spin2 .7s infinite linear; | |
} | |
@-webkit-keyframes spin2 { | |
from { -webkit-transform: rotate(0deg);} | |
to { -webkit-transform: rotate(360deg);} | |
} |
public class SIDConverter { | |
public static String convertSidToStringSid(byte[] sid) { | |
int offset, size; | |
// sid[0] is the Revision, we allow only version 1, because it's the | |
// only that exists right now. | |
if (sid[0] != 1) | |
throw new IllegalArgumentException("SID revision must be 1"); | |
Source code can be download from:
https://www.monetdb.org/downloads/sources/Latest/
Install required packages:
brew install pkg-config pcre openssl libtool gettext libiconv autoconf automake libxml2
# Show hidden files | |
defaults write com.apple.finder AppleShowAllFiles -boolean true | |
# Show status bar in Finder | |
defaults write com.apple.finder ShowStatusBar -bool true | |
# Show Library folder | |
chflags nohidden ~/Library | |
# Show file extensions |
import React, { useRef } from "react"; | |
import { cn } from "@/lib/utils"; | |
import CodeEditor from "@uiw/react-textarea-code-editor"; | |
export interface CodeBlockProps | |
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> { | |
language?: string; | |
darkMode?: boolean; | |
} |