This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rugged' | |
| repo = Rugged::Repository.init_at('./test-repo') | |
| index = repo.index | |
| base_commit_options = { | |
| author: { name: "Matt", email: "matt@test.com" }, | |
| committer: { name: "Matt", email: "matt@test.com" }, | |
| update_ref: 'HEAD' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ($status == 1) { | |
| echo 'es geht mir gut' | |
| } | |
| elseif ($status == 10) { | |
| echo 'es geht mir nicht gut' | |
| } | |
| else { | |
| echo 'es geht mir solala' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### | |
| Creates a new bucket for a user using the given parameters (if not already above the user's limit) | |
| @param {Object} user the document of the authenticated user | |
| @param {String} name to be used for the bucket | |
| @param {Number} limit to be used for the bucket (in Byte) | |
| @param {Function} callback gets two parameters - error object (if an error occured) and the new bucket document if successful. | |
| @api public | |
| ### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### | |
| Creates a new bucket for a user using the given parameters (if not already above the user's limit) | |
| @param {Object} user the document of the authenticated user | |
| @param {String} name to be used for the bucket | |
| @param {Number} limit to be used for the bucket (in Byte) | |
| @param {Function} callback gets two parameters - error object (if an error occured) and the new bucket document if successful. | |
| @api public | |
| ### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [CONCEPTS FOR BOOK A]: | |
| [ | |
| (*, w, nein, 0, keiner, *, *), | |
| (*, *, *, *, keiner, *, 1000-1999), | |
| (*, *, ja, *, keiner, *, *), | |
| (*, *, *, *, keiner, *, 2000-2999), | |
| (36-49, *, *, *, keiner, *, *) | |
| ] | |
| [CONCEPTS FOR BOOK B]: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --------------------------------------------------- | |
| Target: "Buch_C" | |
| { | |
| (null,"m",null,null,null,null,"3000-3999",null); | |
| ("25-35",null,null,null,"Realschule",null,null,null); | |
| (null,null,null,null,"Hochschule",null,null,null); | |
| ("36-49",null,null,null,"Gymnasium",null,null,null); | |
| (null,null,null,null,"Promotion",null,null,null); | |
| ("36-49",null,null,null,"Realschule",null,null,null); | |
| (null,null,null,null,null,null,"5000 und mehr",null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @package WordPress | |
| * @subpackage Default_Theme | |
| */ | |
| ?> | |
| <!DOCTYPE html> | |
| <html lang="de"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Remove the CSRF Check for Ajax Requests. | |
| module ActionController | |
| module RequestForgeryProtection | |
| def verified_request? | |
| !protect_against_forgery? || | |
| request.method == :get || | |
| request.xhr? || | |
| !verifiable_request_format? || | |
| form_authenticity_token == params[request_forgery_protection_token] | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "Win32API" | |
| module Windows | |
| module Processes | |
| EnumProcesses = Win32API.new("psapi","EnumProcesses",['P','L','P'],'L') | |
| OpenProcess = Win32API.new("kernel32","OpenProcess",['L','L','L'],'L') | |
| CloseHandle = Win32API.new("kernel32","CloseHandle",['L'],'L') | |
| EnumProcessModules = Win32API.new("psapi","EnumProcessModules",['L','P','L','P'],'L') | |
| GetModuleBaseName = Win32API.new("psapi","GetModuleBaseName",['L','L','P','L'],'L') | |
| GetModuleFileNameEx = Win32API.new("psapi","GetModuleFileNameEx",['L','L','P','L'],'L') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| autostart = TkVariable.new | |
| autostart_ja_check = TkRadioButton.new(@options_window) do | |
| text 'Ja' | |
| variable autostart | |
| value 'ja' | |
| background 'royalblue' | |
| activebackground 'royalblue' | |
| font TkFont.new('Comic 9 bold') | |
| anchor 'w' |
NewerOlder