- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
- Ultimate Code Generator - https://webcode.tools/
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
-- Code to generate INSERT statements from query results. Got this from: | |
-- https://stackoverflow.com/questions/4526461/converting-select-results-into-insert-script-sql-server | |
CREATE PROCEDURE sp_generate_insertscripts | |
( | |
@TABLENAME VARCHAR(MAX), | |
@FILTER_CONDITION VARCHAR(MAX)='' | |
) | |
AS | |
BEGIN |
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
@RestResource(urlMapping='/v1/claim/') | |
global class ClaimController { | |
@httpGet | |
global static List<Claim__c> GetClaims(){ | |
List<Claim__c> claims = new List<Claim__c>(); | |
claims = [Select Name, FirstName__c, LastName__c, FavoriteColor__c From Claim__c]; | |
return claims; | |
} | |
@httpDelete |
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 class AnimalLocator { | |
public static string getAnimalNameById(Integer id){ | |
Http http = new Http(); | |
HttpRequest request = new HttpRequest(); | |
request.setEndpoint('https://th-apex-http-callout.herokuapp.com/animals/' + id); | |
request.setMethod('GET'); | |
HttpResponse response = http.send(request); | |
string animalName = null; | |
// If the request is successful, parse the JSON response. | |
if (response.getStatusCode() == 200) { |
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
using ImageMagick; | |
... | |
using var heicImage = new MagickImage(@"C:\my-heic-file.heic"); | |
heicImage.Write(@"C:\my-new-jpg-file.jpg"); |
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 class DemoTriggerHandler { | |
@future (callout=true) | |
public static void sendTestRequest(string field1, string field2, string field3) { | |
try{ | |
HttpRequest request = new HttpRequest(); | |
request.setMethod('POST'); | |
request.setEndpoint("my external api url goes here"); | |
request.setBody('{"message":"Hello World"}'); | |
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
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.userosscache | |
*.sln.docstates | |
# User-specific files (MonoDevelop/Xamarin Studio) |