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 | |
/* | |
Plugin Name: Livejournal User | |
Plugin URI: http://www.begemotik.ee/LivejournalUserPlugin/ | |
Description: This plugin replaces <lj user="username"> with the correct html code. | |
Author: Aleksei Prokopov. | |
Version: 0.1 | |
Author URI: http://www.begemotik.ee/ | |
*/ |
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 | |
/* | |
Plugin Name: linkFeed | |
Plugin URI: | |
Description: linkFeed plugin | |
Version: 1.1.0 | |
Author: RobbyRoboter | |
Author URI: http://www.begemotik.ee | |
*/ | |
add_action('init', linkfeed_widget_register); |
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 | |
/* | |
Plugin Name: SapeFeed | |
Plugin URI: | |
Description: sape plugin | |
Version: 1.1.0 | |
Author: RobbyRoboter | |
Author URI: http://www.begemotik.ee | |
*/ | |
add_action('init', sape_widget_register); |
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
To enable this feature, simply follow these simple steps: | |
1. Press "WIN+R" key combination to launch RUN dialog box then type regedit and press Enter. It'll open Registry Editor and go to following key: | |
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell\ | |
2. Under ImmersiveShell key, create a new key AppPositioner. | |
3. Now select newly created key "AppPositioner" and in right-side pane, create a new DWORD AlwaysEnableLSSnapping and set its value to 1 |
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
<%@ Page ContentType="text/html" validateRequest="false" aspcompat="true"%> | |
<%@ Import Namespace="System.IO" %> | |
<%@ import namespace="System.Diagnostics" %> | |
<%@ import namespace="System.Threading" %> | |
<%@ import namespace="System.Text" %> | |
<%@ import namespace="System.Security.Cryptography" %> | |
<%@ Import Namespace="System.Net.Sockets"%> | |
<%@ Assembly Name="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" %> | |
<%@ import Namespace="System.DirectoryServices" %> | |
<%@ import Namespace="Microsoft.Win32" %> |
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
One of our mostly harmless robots seems to think you are not a human. | |
Because of that, it's hidden your profile from the public. If you really are human, please contact support to have your profile reinstated. | |
We promise we won't require DNA proof of your humanity. |
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 | |
function css($css_file) | |
{ | |
echo '<link rel="stylesheet" href="/'.$css_file.'?filetime='.filemtime($css_file).'">'; | |
} |
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
RewriteEngine on | |
#check if image is in cache | |
RewriteCond %{REQUEST_METHOD} ^GET$ | |
RewriteCond %{REQUEST_URI} ^/img/(.+)$ #just for images | |
RewriteCond %{DOCUMENT_ROOT}/cache/%{REQUEST_URI} -f | |
RewriteRule ^(.+)+$ cache/$1 [L,QSA] | |
# SLIM Framework | |
RewriteCond %{REQUEST_FILENAME} !-f |
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
ALTER TABLE `table_name` ENGINE = MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; |
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
avr-gcc -c -mmcu=attiny26 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=blink_led.lst -std=gnu99 blink_led.c -o blink_led.o | |
avr-gcc -mmcu=attiny26 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=blink_led.o -std=gnu99 blink_led.o --output blink_led.elf -Wl,-Map=blink_led.map,--cref -lm | |
avr-objcopy -O ihex -R .eeprom blink_led.elf blink_led.hex |
OlderNewer