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
// composables/useEmitter.ts | |
export default function () { | |
const hooks = useNuxtApp().hooks; | |
return { | |
emit: hooks.callHook, | |
on: hooks.hook, | |
} | |
} |
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
{ | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
"eslint.validate": ["javascript"] | |
} |
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
<template> | |
<input | |
v-model="searchWord" | |
class="searchbar__search--form-input" | |
type="text" | |
placeholder="Search" | |
autocomplete="off" | |
@keyup="handleSearch" | |
@blur="closeResult" | |
> |
This file has been truncated, but you can view the full 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
[ | |
{ | |
"type": "escape", | |
"width": 64, | |
"align": "left" | |
}, | |
{ | |
"type": "brightness", | |
"width": 80, | |
"align": "left", |
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
# start | |
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist | |
# stop | |
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist |
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
alias pa="php artisan" | |
alias par="php artisan routes" | |
alias pam="php artisan migrate" | |
alias cu="composer update" | |
alias ci="composer install" | |
alias ni="npm install" | |
alias c="clear" |
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
import { createStore, applyMiddleware, compose } from 'redux'; | |
import createSagaMiddleware from 'redux-saga' | |
import rootReducer from './store' | |
const sagaMiddleware = createSagaMiddleware() | |
const store = createStore(rootReducer, compose( | |
applyMiddleware(sagaMiddleware), |
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
#### FRAGMENTS #### | |
1-) | |
View view=inflater.inflate(R.layout.fragment_version , container, false); | |
Apilevel = view.findViewById(R.id.tv_Apilevel); | |
2-) | |
ArrayAdapter<String> arrayAdapter=new ArrayAdapter<String>(getActivity(),android.R.layout.simple_list_item_1,listAndroidVersion); | |
lvVersions.setAdapter(arrayAdapter); |
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
{% for game in games %} | |
<tr> | |
<td>{{game.id}}</td> | |
<td>{{game.name}}</td> | |
<td>{{game.price}}</td> | |
<td><a href="{{ path("edit-game", {'id': game.id} ) }}"> Edit </a></td> | |
<td><a href="{{ path("delete-game", {'id': game.id} ) }}"> Delete </a></td> | |
</tr> | |
{% endfor %} | |
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
<form method="post"> | |
<input type="text" name="games[name]" value="{{game.name}}" > | |
<input type="number" name="games[price]" value="{{game.price}}"> | |
<input type="text" name="games[image]" value="{{game.image}}"> | |
<button type="submit">Kaydet</button> | |
</form> |
NewerOlder