This file contains hidden or 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
| /* Border box with shadows */ | |
| div { | |
| border-radius: 3px; | |
| box-shadow: 0 1px 5px #888; | |
| } | |
| /* Another 4 sides box shadow */ | |
| div { | |
| border-radius: 6px; | |
| box-shadow: 0px 0px 8px 4px #CCCCCC; |
This file contains hidden or 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
| $(document).ready(function() { | |
| $(".tabLink").each(function(){ | |
| $(this).click(function(){ | |
| tabeId = $(this).attr('id'); | |
| $(".tabLink").removeClass("activeLink"); | |
| $(this).addClass("activeLink"); | |
| $(".tabcontent").addClass("hide"); | |
| $("#"+tabeId+"-1").removeClass("hide"); | |
| return false; | |
| }); |
This file contains hidden or 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
| protected function errorAction() { | |
| echo 'ErrorAction'; | |
| $this->clearCacheOnError(); | |
| if ($this->configurationManager->isFeatureEnabled('rewrittenPropertyMapper')) { | |
| echo 'Rewritten Property Mapper'; | |
| echo '<pre>'; | |
| foreach ($this->arguments->getValidationResults()->getFlattenedErrors() as $propertyPath => $errors) { | |
| foreach ($errors as $error) { | |
| $message .= 'Error for ' . $propertyPath . ': ' . $error->render() . |
This file contains hidden or 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
| /*Database replace bad characters to german characters (SQL)*/ | |
| /*replace "pages" with yout table and "title" with your field*/ | |
| UPDATE pages SET title=replace(title,'ß', 'ß'), title=replace(title, 'ä', 'ä'), title=replace(title, 'ü', 'ü'), title=replace(title, 'ö', 'ö'), title=replace(title, 'Ä', 'Ä'), title=replace(title, 'Ü', 'Ü'), title=replace(title, 'Ö', 'Ö'), title=replace(title, '€', '€'), title=replace(title, '–', '–'), title=replace(title, '“', '“'), title=replace(title, '„', '„'), title=replace(title, '§', '§'); |
This file contains hidden or 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
| NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; | |
| [defaults setObject:variable forKey:@"myVar"]; | |
| [defaults synchronize]; |
This file contains hidden or 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
| //Go to Segue | |
| [self performSegueWithIdentifier: @"nameOfYourSegueIdentifier" sender: self]; |
This file contains hidden or 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
| // NSString to URL Encode | |
| NSString *originalString = [NSString stringWithFormat:@"Hallo Welt"]; | |
| NSString *stringURLEncoded = [originalString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; |
NewerOlder