Skip to content

Instantly share code, notes, and snippets.

View Alicannklc's full-sized avatar
😇
Focusing

Alicannklc

😇
Focusing
  • Turkey
View GitHub Profile
@Alicannklc
Alicannklc / Tema-class.php
Last active May 2, 2019 06:07
Wordpress modern tema düzeni
<?php
class Temaclass
{
private function actionAfterSetup($function)
{
add_action('after_setup_theme', function() use ($function) {
$function();
});
}
private function actionEnqueueScripts($function)
@Alicannklc
Alicannklc / hyper.js
Last active April 29, 2019 23:35
hyper.js
module.exports = {
config: {
MaterialTheme: {
theme: 'Palenight',
backgroundOpacity: '1',
accentColor: '#64FFDA',
@Alicannklc
Alicannklc / gist:54e3cd57c494863b360fe1fd5ec37084
Last active April 14, 2019 00:58
MSBUILD : error MSB4132 on windows 10
npm install --global --production windows-build-tools
https://www.microsoft.com/en-us/download/details.aspx?id=44266
https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full.exe
@Alicannklc
Alicannklc / gulpfile.js
Created December 22, 2018 23:07 — forked from meseven/gulpfile.js
Gulp
const gulp = require('gulp');
const minify = require('gulp-minify');
const minifyCSS = require('gulp-minify-css');
const rename = require('gulp-rename');
const concat = require('gulp-concat');
gulp.task('styles', () => {
gulp.src('source/css/**/*.css')
.pipe(minifyCSS())
@Alicannklc
Alicannklc / Welcome.c
Created November 29, 2018 00:39
A Simple C Program: Printing a Line of Text
#include <stdio.h>
// function main begins program execution
int main( void )
{
printf( "Welcome to C!\n" );
} /
@Alicannklc
Alicannklc / reset.scss
Last active August 20, 2018 14:18
reset.scss
/* reset */
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
&:before, &:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;

Cheat Sheets are greate but they are not a substitute for learning the framework and reading the documentation as we most certainly have not covered every potential example here. Please refer to the Rails Command Line Docs for more information.

Command Line Generator Info

Reference

You can get all of this information on the command line.

rails generate with no generator name will output a list of all available generators and some information about global options. rails generate GENERATOR --help will list the options that can be passed to the specified generator.

@Alicannklc
Alicannklc / README.md
Last active April 22, 2025 04:23
WordPress Kod Arşivi
@Alicannklc
Alicannklc / Datatables.php
Created June 23, 2018 11:34
Codeigniter Datatables
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Ignited Datatables
*
* This is a wrapper class/library based on the native Datatables server-side implementation by Allan Jardine
* found at http://datatables.net/examples/data_sources/server_side.html for CodeIgniter
*
* @package CodeIgniter
* @subpackage libraries