Skip to content

Instantly share code, notes, and snippets.

View webfacer's full-sized avatar
🤪
just coding it!

Ilic Davor webfacer

🤪
just coding it!
View GitHub Profile
@barryvdh
barryvdh / .phpstorm.meta.php
Last active February 10, 2025 15:07
Laravel PhpStorm Meta file
<?php
namespace PHPSTORM_META {
/**
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
* Generated on 2017-09-28.
*
* @author Barry vd. Heuvel <[email protected]>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
@pixelbrackets
pixelbrackets / f-widget-paginate-style.md
Last active July 18, 2016 09:35
CSS for Fluid Pagination Widget in TYPO3 Flow

CSS for Fluid Pagination Widget in TYPO3 Flow

CSS

<style type="text/css">
	.typo3-widget-paginator {
		display: inline-block;

border-radius: 4px;

@derhuerst
derhuerst / intro.md
Last active May 25, 2025 22:13
Installing Git on Linux, Mac OS X and Windows
@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active August 12, 2025 03:12
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

Configure

xdebug.ini

xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_connect_back=1
@hlubek
hlubek / gist:7889386
Created December 10, 2013 11:45
TypoScript 2 guide

Hitchhikers guide to TypoScript 2

The old days

Do you remember the good old days?

What is TypoScript? Various myths and speculations exist about that, well, programming language? No, it never was a programming language. Though it could be used to express logic. Is it a configuration language then? It's often used to configure settings, but the scope is certainly blurry.

The power of TypoScript - if used well - is the declarative approach of expressing the rendering and execution of various parts of the system. And a declaration in TypoScript is never final, but can be changed at a later time by another extension or template.

@htuscher
htuscher / indexing_image
Created October 30, 2013 15:01
TYPO3 Solr Indexing prerender image
image_stringS = IMG_RESOURCE
image_stringS{
file{
width = 100
import = uploads/media/
import{
field = media
listNum = 0
}
}
@Plou
Plou / date.xml
Created June 13, 2013 13:53
Example of a flexform with text, rich text editor (rte), file (image), date and multiple items (flexform sections)
<dateName>
<TCEforms>
<label>LLL:EXT:skinFlex/flex/locallang.xml:flexform.flex.dateName</label>
<config>
<type>input</type>
<eval>date</eval>
</config>
</TCEforms>
</dateName>
@gerbenvandijk
gerbenvandijk / random video ID from a users videofeed
Last active December 17, 2015 23:59
// Function that returns random video ID from a users videofeed
<?php
// Function that returns random video ID from a users videofeed
function RandomYoutube($youtubefeed){
$feedresult = simplexml_load_file($youtubefeed);
$videoids = array();
foreach ($feedresult->entry as $video) {
@jshaw
jshaw / byobuCommands
Last active July 18, 2025 05:48
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window