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": "BaharanAmadNetApp", | |
"version": "1.0.2", | |
"description": "Baharan Amad Net Application", | |
"private": true, | |
"cacheDirectories": [ | |
"node_modules" | |
], | |
"dependencies": { | |
"@ng-dynamic-forms/core": "6.0.6", |
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": "ng-baharan", | |
"description": "baharan angular framework", | |
"version": "3.0.7", | |
"repository": { | |
"type": "git", | |
"url": "http://192.168.251.80:10080/bh-framework/baharan-framework-web-ng2.git" | |
}, | |
"publishConfig": { | |
"registry": "http://192.168.253.10:8081/repository/npm-private/" |
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
xcodebuild -exportArchive -exportFormat ipa -archivePath {PATH}/MyApp.xcarchive -exportPath ~/Desktop/MyApp.ipa |
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
function b64toBlob(b64Data, contentType, sliceSize) { | |
contentType = contentType || ''; | |
sliceSize = sliceSize || 512; | |
var byteCharacters = atob(b64Data); | |
var byteArrays = []; | |
for (var offset = 0; offset < byteCharacters.length; offset += sliceSize) { | |
var slice = byteCharacters.slice(offset, offset + sliceSize); |
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
export const routes: Routes = [ | |
{ path: '', redirectTo: 'product-list', pathMatch: 'full' }, | |
{ path: 'product-list', component: ProductList }, | |
{ path: 'product-details/:id', component: ProductDetails } | |
]; | |
this.router.navigate(['/product-details', id]); |
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
public static void main(String[] args) { | |
new Reflections("org.roshan").getTypesAnnotatedWith(Cache.class).stream().forEach(c->{ | |
Arrays.stream(c.getDeclaredFields()).forEach(f->{ | |
if(f.getAnnotation(Cache.class)!=null){ | |
System.out.println(String.format("cm.createCache(%s.class.getName() + \".%s\" , jcacheConfiguration);",c.getName(),f.getName())); | |
} | |
}); | |
System.out.println(String.format("cm.createCache(%s.class.getName() , jcacheConfiguration);",c.getName())); | |
}); | |
} |
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
mvn dependency:purge-local-repository //clear local when jar corrupt |
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
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
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
services: | |
- name: docker:dind | |
command: ["--insecure-registry=registry.bucker.net"] |
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
/* tslint:disable */ | |
constructor(private alertService: JhiAlertService, private eventManager: JhiEventManager, private translateService: TranslateService) { | |
/* tslint:enable */ |