This Gist was moved into its own Repository at https://github.com/dploeger/godot-migrationnotes
Please fork that repository and send pull request for updates. Thanks!
<% @accounts.each do |user, password| -%> | |
<%= user %>:<%= scope.call_function('apache_pw_hash', [password]) %> | |
<% end -%> |
package de.dieploegers.develop.idea.custommark | |
import com.intellij.openapi.editor.EditorLinePainter | |
import com.intellij.openapi.editor.LineExtensionInfo | |
import com.intellij.openapi.editor.markup.EffectType | |
import com.intellij.openapi.editor.markup.TextAttributes | |
import com.intellij.openapi.project.Project | |
import com.intellij.openapi.vfs.VirtualFile | |
import java.awt.Color |
package de.dieploegers.develop.idea.custommark | |
import com.intellij.codeInsight.daemon.RelatedItemLineMarkerInfo | |
import com.intellij.codeInsight.daemon.RelatedItemLineMarkerProvider | |
import com.intellij.codeInsight.navigation.NavigationGutterIconBuilder | |
import com.intellij.icons.AllIcons | |
import com.intellij.ide.util.DefaultPsiElementCellRenderer | |
import com.intellij.psi.PsiElement | |
import java.awt.Color |
<idea-plugin> | |
<id>de.dieploegers.develop.idea.custommark</id> | |
<name>Custom Mark</name> | |
<version>0.1.0</version> | |
<vendor email="[email protected]" url="http://www.yourcompany.com">YourCompany</vendor> | |
<description><![CDATA[ | |
Create custom markings based on regular expressions. | |
]]></description> |
package de.dieploegers.develop.idea.custommark.annotators | |
import com.intellij.lang.annotation.AnnotationHolder | |
import com.intellij.lang.annotation.Annotator | |
import com.intellij.lang.annotation.HighlightSeverity | |
import com.intellij.openapi.editor.markup.EffectType | |
import com.intellij.openapi.editor.markup.TextAttributes | |
import com.intellij.psi.PsiElement | |
import java.awt.Color |
This Gist was moved into its own Repository at https://github.com/dploeger/godot-migrationnotes
Please fork that repository and send pull request for updates. Thanks!
let Vaulted = require('vaulted'); | |
let fs = require('fs'); | |
let myVault = new Vaulted({ | |
vault_host: 'localhost', | |
vault_port: 8200, | |
vault_ssl: false | |
}); | |
myVault.prepare() |
import Bluebird = require('bluebird'); | |
import {UnirestError} from './UnirestError'; | |
/** | |
* A tool for converting a unirest object into a promise | |
* @param unirest The unirest instance | |
* @returns {Bluebird<any>} | |
*/ | |
export function unirestAsPromise(unirest: any): Bluebird<any> { | |
return new Bluebird( |
{ | |
"BTTPresetName" : "Touchbar System Stats", | |
"BTTPresetUUID" : "5BCAEC41-D306-4BB6-B172-F9EBB974D4D3", | |
"BTTPresetContent" : [ | |
{ | |
"BTTAppBundleIdentifier" : "BT.G", | |
"BTTAppName" : "Global", | |
"BTTAppSpecificSettings" : { | |
}, |
Index: bitshifter.c | |
=================================================================== | |
--- bitshifter.c (revision 637) | |
+++ bitshifter.c (working copy) | |
@@ -439,13 +439,25 @@ | |
// > 0 <= C <= 7 (see above) | |
// > *b = Next bit position to be copied from 'db' (1 <= B <= 8) | |
// > [ ((Q << C) & 0xff00) + new bits from db ] >> C | |
- **q = ( ( (__int32)((**q) >> (8-*c)) << 8) | (((__int32)db << (*b-1)) & 0xff) ) >> *c; | |
+ **q = ( ( (int32_t)((**q) >> (8-*c)) << 8) | (((int32_t)db << (*b-1)) & 0xff) ) >> *c; |