This file contains 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
; My Boostrap makefile | |
core = 7.x | |
api = 2 | |
projects[] = drupal | |
projects[my_bootstrap_profile][type] = profile | |
projects[my_bootstrap_profile][download][type] = git | |
projects[my_bootstrap_profile][download][url] = "https://github.com/username/my_bootstrap_profile.git" | |
projects[my_bootstrap_profile][download][branch] = master |
This file contains 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 | |
/** | |
* Implement hook_install(). | |
* | |
* Perform actions to set up the site for this profile. | |
*/ | |
function my_bootstrap_install() { | |
include_once DRUPAL_ROOT . '/profiles/minimal/minimal.install'; | |
minimal_install(); | |
This file contains 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
name = My Bootstrap Profile | |
description = Description of what the profile does. | |
core = 7.x | |
; Optional: Mark your installation profile as exclusive, so that the installer | |
; will auto-select it. | |
exclusive = true | |
dependencies[] = block | |
dependencies[] = color | |
dependencies[] = comment |
This file contains 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
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
This file contains 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 | |
/** | |
* User: samueljon <samuel.jon.gunnarsson _at_ gmail.com> | |
* Date: 14.10.14 | |
* Time: 08:16 | |
*/ | |
/** | |
* Class NTLMSoapClient | |
* |
This file contains 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 | |
/** | |
* Author: Samúel Jón Gunnarsson <[email protected]> | |
* Date: 21.10.14 | |
* Time: 13:41 | |
*/ | |
$debug = 0; | |
$base_path="http://my.url"; | |
// Determine if we are running in command line or not. | |
if (php_sapi_name() == "cli") { |
This file contains 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
#!/bin/bash | |
# | |
# Author: Samúel Jón Gunnarsson <[email protected]> | |
# | |
# Access log | |
echo "Analysing access_log for 2014" | |
log_path="/var/log/httpd" | |
grep_pattern="-2014" | |
# |
This file contains 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
#!/bin/bash | |
brew install wine-stable winetricks | |
WINEARCH=win32 WINEPREFIX=~/.wine winecfg | |
mkdir ~/.cache/winetricks/ | |
winetricks -q dotnet45 corefonts |
This file contains 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
------------------------------------------------------------------------------- | |
btrfs | |
------------------------------------------------------------------------------- | |
Version 1.96 ------Sequential Output------ --Sequential Input- --Random- | |
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- | |
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP | |
loki 8G 211 98 52517 7 24589 6 1805 94 61643 11 168.1 5 | |
Latency 71702us 10393ms 10891ms 18017us 210ms 355ms | |
Version 1.96 ------Sequential Create------ --------Random Create-------- | |
loki -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- |
This file contains 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
Name: logstash | |
Version: 1.1.0 | |
Release: 1%{?dist} | |
Summary: logstash is a tool for managing events and logs | |
Group: System/Logging | |
License: ASL 2.0 | |
URL: http://logstash.net/ | |
Source0: http://semicomplete.com/files/logstash/logstash-%{version}-monolithic.jar | |
Source1: logstash |